private function EsiFragmentRendererTest::getInlineStrategy in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Fragment/EsiFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\EsiFragmentRendererTest::getInlineStrategy()
6 calls to EsiFragmentRendererTest::getInlineStrategy()
- EsiFragmentRendererTest::testRender in vendor/
symfony/ http-kernel/ Tests/ Fragment/ EsiFragmentRendererTest.php - EsiFragmentRendererTest::testRenderAltControllerReferenceWithoutSignerThrowsException in vendor/
symfony/ http-kernel/ Tests/ Fragment/ EsiFragmentRendererTest.php - @expectedException \LogicException
- EsiFragmentRendererTest::testRenderControllerReference in vendor/
symfony/ http-kernel/ Tests/ Fragment/ EsiFragmentRendererTest.php - EsiFragmentRendererTest::testRenderControllerReferenceWithoutSignerThrowsException in vendor/
symfony/ http-kernel/ Tests/ Fragment/ EsiFragmentRendererTest.php - @expectedException \LogicException
- EsiFragmentRendererTest::testRenderFallbackToInlineStrategyIfEsiNotSupported in vendor/
symfony/ http-kernel/ Tests/ Fragment/ EsiFragmentRendererTest.php
File
- vendor/
symfony/ http-kernel/ Tests/ Fragment/ EsiFragmentRendererTest.php, line 93
Class
Namespace
Symfony\Component\HttpKernel\Tests\FragmentCode
private function getInlineStrategy($called = false) {
$inline = $this
->getMockBuilder('Symfony\\Component\\HttpKernel\\Fragment\\InlineFragmentRenderer')
->disableOriginalConstructor()
->getMock();
if ($called) {
$inline
->expects($this
->once())
->method('render');
}
return $inline;
}