public function testResponseShouldContainMessageProvidedToHalt()
{
try {
$this->app->halt(500, 'error message');
$this->fail('HaltException expected');
} catch (Exception\HaltException $e) {
}
$this->assertContains('error message', $this->app->response()->getContent());
}