You are here

public function FragmentHandlerTest::testRenderWithUnknownRenderer 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::testRenderWithUnknownRenderer()

@expectedException \InvalidArgumentException

File

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

Class

FragmentHandlerTest

Namespace

Symfony\Component\HttpKernel\Tests\Fragment

Code

public function testRenderWithUnknownRenderer() {
  $handler = $this
    ->getHandler($this
    ->returnValue(new Response('foo')));
  $handler
    ->render('/', 'bar');
}