public function testNoAnalyzerForSubRequest() { $this->getResponseEvent->isMasterRequest()->willReturn(false); $this->requestListener->onKernelRequest($this->getResponseEvent->reveal()); $this->requestAnalyzer->analyze(Argument::any())->shouldNotHaveBeenCalled(); }