private function RoutableFragmentRendererTest::callGenerateFragmentUriMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Fragment/RoutableFragmentRendererTest.php \Symfony\Component\HttpKernel\Tests\Fragment\RoutableFragmentRendererTest::callGenerateFragmentUriMethod()
4 calls to RoutableFragmentRendererTest::callGenerateFragmentUriMethod()
- RoutableFragmentRendererTest::testGenerateAbsoluteFragmentUri in vendor/
symfony/ http-kernel/ Tests/ Fragment/ RoutableFragmentRendererTest.php - @dataProvider getGenerateFragmentUriData
- RoutableFragmentRendererTest::testGenerateFragmentUri in vendor/
symfony/ http-kernel/ Tests/ Fragment/ RoutableFragmentRendererTest.php - @dataProvider getGenerateFragmentUriData
- RoutableFragmentRendererTest::testGenerateFragmentUriWithARequest in vendor/
symfony/ http-kernel/ Tests/ Fragment/ RoutableFragmentRendererTest.php - RoutableFragmentRendererTest::testGenerateFragmentUriWithNonScalar in vendor/
symfony/ http-kernel/ Tests/ Fragment/ RoutableFragmentRendererTest.php - @expectedException \LogicException @dataProvider getGenerateFragmentUriDataWithNonScalar
File
- vendor/
symfony/ http-kernel/ Tests/ Fragment/ RoutableFragmentRendererTest.php, line 74
Class
Namespace
Symfony\Component\HttpKernel\Tests\FragmentCode
private function callGenerateFragmentUriMethod(ControllerReference $reference, Request $request, $absolute = false) {
$renderer = $this
->getMockForAbstractClass('Symfony\\Component\\HttpKernel\\Fragment\\RoutableFragmentRenderer');
$r = new \ReflectionObject($renderer);
$m = $r
->getMethod('generateFragmentUri');
$m
->setAccessible(true);
return $m
->invoke($renderer, $reference, $request, $absolute);
}