public function UrlMatcherTest::testNoMethodSoAllowed

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Matcher/UrlMatcherTest.php, line 23

Class

UrlMatcherTest

Namespace

Symfony\Component\Routing\Tests\Matcher

Code

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