You are here

public function RouterTest::testSetOptionWithSupportedOption in Zircon Profile 8.0

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

File

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

Class

RouterTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testSetOptionWithSupportedOption() {
  $this->router
    ->setOption('cache_dir', './cache');
  $this
    ->assertSame('./cache', $this->router
    ->getOption('cache_dir'));
}