getEventMock() protected méthode

protected getEventMock ( $class ) : PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | $class
Résultat PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject | $class
 /**
  * @return PHPUnit_Framework_MockObject_MockObject|GetResponseEvent
  */
 protected function getEventMock($class = null)
 {
     if (!isset($this->eventMock)) {
         parent::getEventMock('Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent');
         $this->eventMock->expects($this->any())->method('getRequestType')->will($this->returnValue($this->requestType));
     }
     return $this->eventMock;
 }
 /**
  * @return PHPUnit_Framework_MockObject_MockObject|GetResponseForExceptionEvent
  */
 protected function getExceptionEventMock()
 {
     if (!isset($this->eventMock)) {
         $this->eventMock = parent::getEventMock('Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent');
         $this->eventMock->expects($this->any())->method('getException')->will($this->returnValue($this->eventValue));
     }
     return $this->eventMock;
 }