/**
* @test
*/
public function testNotFound()
{
try {
$this->app->notFound();
$this->assertTrue(false, 'app->notFound() should throw StopException');
} catch (StopException $e) {
$this->assertTrue(true);
$this->assertEquals(404, $this->app->response->getStatus());
}
}