public function PhpMatcherDumperTest::testDumpWhenSchemeIsUsedWithoutAProperDumper

@expectedException \LogicException

File

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

Class

PhpMatcherDumperTest

Namespace

Symfony\Component\Routing\Tests\Matcher\Dumper

Code

public function testDumpWhenSchemeIsUsedWithoutAProperDumper() {
  $collection = new RouteCollection();
  $collection
    ->add('secure', new Route('/secure', array(), array(
    '_scheme' => 'https',
  )));
  $dumper = new PhpMatcherDumper($collection);
  $dumper
    ->dump();
}