public function HIncludeFragmentRendererTest::testRenderWithControllerAndSigner in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Fragment/HIncludeFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\HIncludeFragmentRendererTest::testRenderWithControllerAndSigner()
File
- vendor/
symfony/ http-kernel/ Tests/ Fragment/ HIncludeFragmentRendererTest.php, line 30
Class
Namespace
Symfony\Component\HttpKernel\Tests\FragmentCode
public function testRenderWithControllerAndSigner() {
$strategy = new HIncludeFragmentRenderer(null, new UriSigner('foo'));
$this
->assertEquals('<hx:include src="/_fragment?_path=_format%3Dhtml%26_locale%3Den%26_controller%3Dmain_controller&_hash=BP%2BOzCD5MRUI%2BHJpgPDOmoju00FnzLhP3TGcSHbbBLs%3D"></hx:include>', $strategy
->render(new ControllerReference('main_controller', array(), array()), Request::create('/'))
->getContent());
}