You are here

public function RouterTest::testSetOptionWithUnsupportedOption 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::testSetOptionWithUnsupportedOption()

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

File

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

Class

RouterTest

Namespace

Symfony\Component\Routing\Tests

Code

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