You are here

public function MemcacheSessionHandlerTest::testReadSession 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::testReadSession()

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MemcacheSessionHandlerTest.php, line 62

Class

MemcacheSessionHandlerTest

Namespace

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

Code

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