You are here

public function RouterTest::testGetOptionWithUnsupportedOption in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Tests/RouterTest.php \Symfony\Component\Routing\Tests\RouterTest::testGetOptionWithUnsupportedOption()

@expectedException \InvalidArgumentException @expectedExceptionMessage The Router does not support the "option_foo" option

File

vendor/symfony/routing/Tests/RouterTest.php, line 76

Class

RouterTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testGetOptionWithUnsupportedOption() {
  $this->router
    ->getOption('option_foo', true);
}