public function DynamicRouterTest::testRouteCollectionLazy 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::testRouteCollectionLazy()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ DynamicRouterTest.php, line 66
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testRouteCollectionLazy() {
$provider = $this
->getMock('Symfony\\Cmf\\Component\\Routing\\RouteProviderInterface');
$router = new DynamicRouter($this->context, $this->matcher, $this->generator, '', null, $provider);
$collection = $router
->getRouteCollection();
$this
->assertInstanceOf('Symfony\\Cmf\\Component\\Routing\\LazyRouteCollection', $collection);
}