assertUrlIsSecured('/invoice/'); $this->assertUrlIsSecuredForRole(User::ROLE_USER, '/invoice/'); } public function testIndexAction() { $this->markTestSkipped('create invoice template before this test case'); $client = $this->getClientForAuthenticatedUser(User::ROLE_TEAMLEAD); $this->request($client, '/invoice/'); $this->assertTrue($client->getResponse()->isSuccessful()); $this->assertMainContentClass($client, 'dashboard'); } }