public function ContentAwareGeneratorTest::testGenerateNoncmfRouteMultilang in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/Tests/Routing/ContentAwareGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\ContentAwareGeneratorTest::testGenerateNoncmfRouteMultilang()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ ContentAwareGeneratorTest.php, line 183
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testGenerateNoncmfRouteMultilang() {
$route_en = $this
->buildMock('Symfony\\Component\\Routing\\Route', array(
'getDefaults',
'compile',
'getContent',
));
$route_en
->expects($this
->once())
->method('compile')
->will($this
->returnValue($this->routeCompiled));
$this
->assertEquals('result_url', $this->generator
->generate($route_en, array(
'_locale' => 'de',
)));
}