Helthe\Component\Turbolinks\Tests\StackTurbolinksTest::testDoesNothingForSubRequests PHP Method

testDoesNothingForSubRequests() public method

    public function testDoesNothingForSubRequests()
    {
        $app = $this->getDecoratedAppMock();
        $turbolinks = $this->getTurbolinksMock();
        $turbolinks->expects($this->never())->method('decorateResponse');
        $stack = new StackTurbolinks($app, $turbolinks);
        $stack->handle(new Request(), HttpKernelInterface::SUB_REQUEST);
    }