You are here

public function PhpMatcherDumperTest::testDumpWhenSchemeIsUsedWithoutAProperDumper in Zircon Profile 8.0

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

@expectedException \LogicException

File

vendor/symfony/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(), array(), '', array(
    'https',
  )));
  $dumper = new PhpMatcherDumper($collection);
  $dumper
    ->dump();
}