public function UrlMatcherTest::testNoMethodSoAllowed in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/Matcher/UrlMatcherTest.php \Symfony\Component\Routing\Tests\Matcher\UrlMatcherTest::testNoMethodSoAllowed()
File
- vendor/
symfony/ routing/ Tests/ Matcher/ UrlMatcherTest.php, line 23
Class
Namespace
Symfony\Component\Routing\Tests\MatcherCode
public function testNoMethodSoAllowed() {
$coll = new RouteCollection();
$coll
->add('foo', new Route('/foo'));
$matcher = new UrlMatcher($coll, new RequestContext());
$this
->assertInternalType('array', $matcher
->match('/foo'));
}