public function testUrlNotFound() { $this->setExpectedException('Http\\RouterException'); $router = new Router(); $router->matchUrl('404'); }