You are here

private function InlineFragmentRendererTest::getKernel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\InlineFragmentRendererTest::getKernel()
5 calls to InlineFragmentRendererTest::getKernel()
InlineFragmentRendererTest::testRender in vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php
InlineFragmentRendererTest::testRenderExceptionIgnoreErrors in vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php
InlineFragmentRendererTest::testRenderExceptionIgnoreErrorsWithAlt in vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php
InlineFragmentRendererTest::testRenderExceptionNoIgnoreErrors in vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php
@expectedException \RuntimeException
InlineFragmentRendererTest::testRenderWithControllerReference in vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php

File

vendor/symfony/http-kernel/Tests/Fragment/InlineFragmentRendererTest.php, line 115

Class

InlineFragmentRendererTest

Namespace

Symfony\Component\HttpKernel\Tests\Fragment

Code

private function getKernel($returnValue) {
  $kernel = $this
    ->getMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface');
  $kernel
    ->expects($this
    ->any())
    ->method('handle')
    ->will($returnValue);
  return $kernel;
}