You are here

public function MemcacheSessionHandlerTest::testDestroySession in Zircon Profile 8

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

File

vendor/symfony/http-foundation/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'));
}