You are here

public function EsiFragmentRendererTest::testRenderFallbackToInlineStrategyIfNoRequest in Zircon Profile 8

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

File

vendor/symfony/http-kernel/Tests/Fragment/EsiFragmentRendererTest.php, line 22

Class

EsiFragmentRendererTest

Namespace

Symfony\Component\HttpKernel\Tests\Fragment

Code

public function testRenderFallbackToInlineStrategyIfNoRequest() {
  $strategy = new EsiFragmentRenderer(new Esi(), $this
    ->getInlineStrategy(true));
  $strategy
    ->render('/', Request::create('/'));
}