request('GET', '/error'); $this->assertResponseIsSuccessful(); $this->assertStringContainsString('Something seems to have gone wrong', $client->getResponse()->getContent()); } }