public function testRenderWithControllerAndSigner() {
$strategy = new HIncludeFragmentRenderer(null, new UriSigner('foo'));
$this
->assertEquals('<hx:include src="http://localhost/_fragment?_path=_format%3Dhtml%26_controller%3Dmain_controller&_hash=VI25qJj8J0qveB3bGKPhsJtexKg%3D"></hx:include>', $strategy
->render(new ControllerReference('main_controller', array(), array()), Request::create('/'))
->getContent());
}