public function FragmentHandlerTest::testRender in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Fragment/FragmentHandlerTest.php \Symfony\Component\HttpKernel\Tests\Fragment\FragmentHandlerTest::testRender()
File
- vendor/
symfony/ http-kernel/ Tests/ Fragment/ FragmentHandlerTest.php, line 65
Class
Namespace
Symfony\Component\HttpKernel\Tests\FragmentCode
public function testRender() {
$handler = $this
->getHandler($this
->returnValue(new Response('foo')), array(
'/',
Request::create('/'),
array(
'foo' => 'foo',
'ignore_errors' => true,
),
));
$this
->assertEquals('foo', $handler
->render('/', 'foo', array(
'foo' => 'foo',
)));
}