public function testNoMethodSoAllowed() { $coll = new RouteCollection(); $coll ->add('foo', new Route('/foo')); $matcher = new UrlMatcher($coll, new RequestContext()); $matcher ->match('/foo'); }