public function RouterTest::testSetOptionsWithUnsupportedOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/RouterTest.php \Symfony\Component\Routing\Tests\RouterTest::testSetOptionsWithUnsupportedOptions()
@expectedException \InvalidArgumentException @expectedExceptionMessage The Router does not support the following options: "option_foo", "option_bar"
File
- vendor/
symfony/ routing/ Tests/ RouterTest.php, line 46
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testSetOptionsWithUnsupportedOptions() {
$this->router
->setOptions(array(
'cache_dir' => './cache',
'option_foo' => true,
'option_bar' => 'baz',
'resource_type' => 'ResourceType',
));
}