public function UrlMatcherTest::testPathIsCaseSensitive 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::testPathIsCaseSensitive()
@expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
File
- vendor/
symfony/ routing/ Tests/ Matcher/ UrlMatcherTest.php, line 402
Class
Namespace
Symfony\Component\Routing\Tests\MatcherCode
public function testPathIsCaseSensitive() {
$coll = new RouteCollection();
$coll
->add('foo', new Route('/locale', array(), array(
'locale' => 'EN|FR|DE',
)));
$matcher = new UrlMatcher($coll, new RequestContext());
$matcher
->match('/en');
}