You are here

public function EsiTest::testHandle in Zircon Profile 8

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

File

vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php, line 188

Class

EsiTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testHandle() {
  $esi = new Esi();
  $cache = $this
    ->getCache(Request::create('/'), new Response('foo'));
  $this
    ->assertEquals('foo', $esi
    ->handle($cache, '/', '/alt', true));
}