public function testListenerSkipUponSubRequestOnKernelResponse()
{
$responseEvent = new FilterResponseEvent($this->mockKernel(), new Request(), HttpKernelInterface::SUB_REQUEST, new Response());
$session = $this->getMock('Symfony\\Component\\HttpFoundation\\Session\\SessionInterface');
$session->expects($this->never())->method('set');
$listener = $this->getListener($session);
$listener->setContainer($this->mockContainerWithContaoScopes(ContaoCoreBundle::SCOPE_BACKEND));
$listener->onKernelResponse($responseEvent);
}