You are here

private function FragmentListenerTest::createGetResponseEvent in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\FragmentListenerTest::createGetResponseEvent()
5 calls to FragmentListenerTest::createGetResponseEvent()
FragmentListenerTest::testAccessDeniedWithNonSafeMethods in vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php
@expectedException \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
FragmentListenerTest::testAccessDeniedWithWrongSignature in vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php
@expectedException \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
FragmentListenerTest::testOnlyTriggeredIfControllerWasNotDefinedYet in vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php
FragmentListenerTest::testOnlyTriggeredOnFragmentRoute in vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php
FragmentListenerTest::testWithSignature in vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php

File

vendor/symfony/http-kernel/Tests/EventListener/FragmentListenerTest.php, line 92

Class

FragmentListenerTest

Namespace

Symfony\Component\HttpKernel\Tests\EventListener

Code

private function createGetResponseEvent(Request $request, $requestType = HttpKernelInterface::MASTER_REQUEST) {
  return new GetResponseEvent($this
    ->getMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface'), $request, $requestType);
}