You are here

public function SsiTest::testProcessWhenNoSrcInAnSsi 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::testProcessWhenNoSrcInAnSsi()

@expectedException \RuntimeException

File

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

Class

SsiTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testProcessWhenNoSrcInAnSsi() {
  $ssi = new Ssi();
  $request = Request::create('/');
  $response = new Response('foo <!--#include -->');
  $ssi
    ->process($request, $response);
}