public function MemcacheSessionHandlerTest::testDestroySession

File

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

Class

MemcacheSessionHandlerTest

Namespace

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

Code

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