public function DynamicRouterTest::testMatchUrlWithRequestMatcher in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Routing/DynamicRouterTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\DynamicRouterTest::testMatchUrlWithRequestMatcher()
@expectedException \InvalidArgumentException
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ DynamicRouterTest.php, line 251
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testMatchUrlWithRequestMatcher() {
$matcher = $this
->buildMock('Symfony\\Component\\Routing\\Matcher\\RequestMatcherInterface', array(
'matchRequest',
'setContext',
'getContext',
));
$router = new DynamicRouter($this->context, $matcher, $this->generator);
$router
->match($this->url);
}