You are here

public function StoreTest::testInvalidatesMetaAndEntityStoreEntriesWithInvalidate in Zircon Profile 8.0

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

File

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

Class

StoreTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testInvalidatesMetaAndEntityStoreEntriesWithInvalidate() {
  $this
    ->storeSimpleEntry();
  $this->store
    ->invalidate($this->request);
  $response = $this->store
    ->lookup($this->request);
  $this
    ->assertInstanceOf('Symfony\\Component\\HttpFoundation\\Response', $response);
  $this
    ->assertFalse($response
    ->isFresh());
}