You are here

public function StoreTest::testRestoresResponseContentFromEntityStoreWithLookup in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/HttpCache/StoreTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\StoreTest::testRestoresResponseContentFromEntityStoreWithLookup()

File

vendor/symfony/http-kernel/Tests/HttpCache/StoreTest.php, line 138

Class

StoreTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testRestoresResponseContentFromEntityStoreWithLookup() {
  $this
    ->storeSimpleEntry();
  $response = $this->store
    ->lookup($this->request);
  $this
    ->assertEquals($this
    ->getStorePath('en' . hash('sha256', 'test')), $response
    ->getContent());
}