public function YamlFileLoaderTest::testLoadSpecialRouteName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\Routing\Tests\Loader\YamlFileLoaderTest::testLoadSpecialRouteName()
File
- vendor/
symfony/ routing/ Tests/ Loader/ YamlFileLoaderTest.php, line 65
Class
Namespace
Symfony\Component\Routing\Tests\LoaderCode
public function testLoadSpecialRouteName() {
$loader = new YamlFileLoader(new FileLocator(array(
__DIR__ . '/../Fixtures',
)));
$routeCollection = $loader
->load('special_route_name.yml');
$route = $routeCollection
->get('#$péß^a|');
$this
->assertInstanceOf('Symfony\\Component\\Routing\\Route', $route);
$this
->assertSame('/true', $route
->getPath());
}