public function testLoginWithFailure() { $client = $this->client; $crawler = $client->request('GET', $this->app->path('mypage_login')); $this->assertTrue($client->getResponse()->isSuccessful()); }