/** * @expectedException RuntimeException */ public function testAppNotFound() { $route = new Router(file); $route->setApplication('foo bar'); }