You are here

public function SsiTest::testHandle in Zircon Profile 8

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

File

vendor/symfony/http-kernel/Tests/HttpCache/SsiTest.php, line 155

Class

SsiTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

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