You are here

public function MemcachedSessionHandlerTest::testReadSession in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php, line 61

Class

MemcachedSessionHandlerTest

Namespace

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

Code

public function testReadSession() {
  $this->memcached
    ->expects($this
    ->once())
    ->method('get')
    ->with(self::PREFIX . 'id');
  $this
    ->assertEquals('', $this->storage
    ->read('id'));
}