public function DynamicRouterTest::testGetGenerator 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::testGetGenerator()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ DynamicRouterTest.php, line 77
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testGetGenerator() {
$this->generator
->expects($this
->once())
->method('setContext')
->with($this
->equalTo($this->context));
$generator = $this->router
->getGenerator();
$this
->assertInstanceOf('Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface', $generator);
$this
->assertSame($this->generator, $generator);
}