public function LegacyApacheMatcherDumperTest::testEscapePattern in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php \Symfony\Component\Routing\Tests\Matcher\Dumper\LegacyApacheMatcherDumperTest::testEscapePattern()
@dataProvider provideEscapeFixtures
File
- vendor/
symfony/ routing/ Tests/ Matcher/ Dumper/ LegacyApacheMatcherDumperTest.php, line 40
Class
- LegacyApacheMatcherDumperTest
- @group legacy
Namespace
Symfony\Component\Routing\Tests\Matcher\DumperCode
public function testEscapePattern($src, $dest, $char, $with, $message) {
$r = new \ReflectionMethod(new ApacheMatcherDumper($this
->getRouteCollection()), 'escape');
$r
->setAccessible(true);
$this
->assertEquals($dest, $r
->invoke(null, $src, $char, $with), $message);
}