public function ProviderBasedGeneratorTest::testGetRouteDebugMessage in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\ProviderBasedGeneratorTest::testGetRouteDebugMessage()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ ProviderBasedGeneratorTest.php, line 94
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function testGetRouteDebugMessage() {
$this
->assertContains('/some/key', $this->generator
->getRouteDebugMessage(new RouteObject()));
$this
->assertContains('/de/test', $this->generator
->getRouteDebugMessage(new Route('/de/test')));
$this
->assertContains('/some/route', $this->generator
->getRouteDebugMessage('/some/route'));
$this
->assertContains('a:1:{s:10:"route_name";s:7:"example";}', $this->generator
->getRouteDebugMessage(array(
'route_name' => 'example',
)));
}