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