public function ApacheMatcherDumperTest::testDump

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Matcher/Dumper/ApacheMatcherDumperTest.php, line 27

Class

ApacheMatcherDumperTest

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.');
}