public function testNoRouteMatchedRequestId() { $request = new ezcMvcRequest(); $request->uri = 'nomatch'; $request->requestId = 'localhost/nomatch'; $router = new testSimpleRouter($request); try { $routeInfo = $router->getRoutingInformation(); self::fail("Expected exception not thrown."); } catch (ezcMvcRouteNotFoundException $e) { self::assertEquals("No route was found that matched request ID 'localhost/nomatch'.", $e->getMessage()); } }