You are here

public function FragmentHandlerTest::testRenderWhenRendererDoesNotExist in Zircon Profile 8

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

@expectedException \InvalidArgumentException

File

vendor/symfony/http-kernel/Tests/Fragment/FragmentHandlerTest.php, line 38

Class

FragmentHandlerTest

Namespace

Symfony\Component\HttpKernel\Tests\Fragment

Code

public function testRenderWhenRendererDoesNotExist() {
  $handler = new FragmentHandler(array(), null, $this->requestStack);
  $handler
    ->render('/', 'foo');
}