eZ\Bundle\EzPublishCoreBundle\Tests\EventListener\RequestEventListenerTest::testOnKernelRequestRedirectSubRequest PHP Method

testOnKernelRequestRedirectSubRequest() public method

    public function testOnKernelRequestRedirectSubRequest()
    {
        $event = new GetResponseEvent($this->httpKernel, new Request(), HttpKernelInterface::SUB_REQUEST);
        $this->requestEventListener->onKernelRequestRedirect($event);
        $this->assertFalse($event->hasResponse());
    }