You are here

public function MemcacheSessionHandlerTest::testSupportedOptions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MemcacheSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\MemcacheSessionHandlerTest::testSupportedOptions()

@dataProvider getOptionFixtures

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MemcacheSessionHandlerTest.php, line 105

Class

MemcacheSessionHandlerTest

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler

Code

public function testSupportedOptions($options, $supported) {
  try {
    new MemcacheSessionHandler($this->memcache, $options);
    $this
      ->assertTrue($supported);
  } catch (\InvalidArgumentException $e) {
    $this
      ->assertFalse($supported);
  }
}