protected function FragmentHandlerTest::setUp 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::setUp()
File
- vendor/
symfony/ http-kernel/ Tests/ Fragment/ FragmentHandlerTest.php, line 22
Class
Namespace
Symfony\Component\HttpKernel\Tests\FragmentCode
protected function setUp() {
$this->requestStack = $this
->getMockBuilder('Symfony\\Component\\HttpFoundation\\RequestStack')
->disableOriginalConstructor()
->getMock();
$this->requestStack
->expects($this
->any())
->method('getCurrentRequest')
->will($this
->returnValue(Request::create('/')));
}