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