public function MemcachedSessionHandlerTest::testSupportedOptions

@dataProvider getOptionFixtures

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php, line 100

Class

MemcachedSessionHandlerTest

Namespace

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

Code

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