public function testPartRouteShouldNotMatch()
{
$foo = $this->app->get('/', function ($app) {
$app->response()->setContent('found');
});
$this->app->events()->attach('404', function ($event) {
$event->getTarget()->response()->setContent('not found');
});
$request = $this->app->request();
$request->setMethod('GET')->setBaseUrl('/test/bar')->setUri('/test/bar/baz');
$this->app->run();
$response = $this->app->response();
$this->assertEquals('not found', $response->sentContent);
}