You are here

public function LegacyApacheMatcherDumperTest::testDump in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php \Symfony\Component\Routing\Tests\Matcher\Dumper\LegacyApacheMatcherDumperTest::testDump()

File

vendor/symfony/routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php, line 30

Class

LegacyApacheMatcherDumperTest
@group legacy

Namespace

Symfony\Component\Routing\Tests\Matcher\Dumper

Code

public function testDump() {
  $dumper = new ApacheMatcherDumper($this
    ->getRouteCollection());
  $this
    ->assertStringEqualsFile(self::$fixturesPath . '/dumper/url_matcher1.apache', $dumper
    ->dump(), '->dump() dumps basic routes to the correct apache format.');
}