public function MemcachedSessionHandlerTest::testDestroySession

File

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

Class

MemcachedSessionHandlerTest

Namespace

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

Code

public function testDestroySession() {
  $this->memcached
    ->expects($this
    ->once())
    ->method('delete')
    ->with(self::PREFIX . 'id')
    ->will($this
    ->returnValue(true));
  $this
    ->assertTrue($this->storage
    ->destroy('id'));
}