public function testExceptionHandlerNotFoundDebug() { $app = new Application(['debug' => true]); $response = $app->handle(Request::create('/foo')); $this->assertContains('Unable to find the ROUTE for path "/foo"', html_entity_decode($response->getContent())); $this->assertEquals(404, $response->getStatusCode()); }