/**
  * set up basic mocks.
  */
 public function setUp()
 {
     parent::setUp();
     $this->representProcessor = new RepresentProcessor();
     $this->eventRepresentation = new EventRepresentation();
     $this->representProcessor->addRepresentation($this->eventRepresentation);
     $this->mockClient = new MockClient();
     $this->pluginClient = new PluginClient($this->mockClient);
     $this->httpMethodsClient = $this->getMockBuilder(HttpMethodsClient::class)->setConstructorArgs([$this->pluginClient, MessageFactoryDiscovery::find()])->enableProxyingToOriginalMethods()->getMock();
     $this->validationResponse = ValidationResponseFactory::createValidation('Event');
     $this->eventClient = new EventClient('https://events.pagerduty.com/generic/2010-04-15', $this->httpMethodsClient, $this->representProcessor, $this->validationResponse);
 }
 /**
  * add basic representations for EventClient.
  *
  * @param RepresentProcessor $representProcessor
  */
 protected static function addBasicRepresentations(RepresentProcessor $representProcessor)
 {
     $representProcessor->addRepresentation(new EventRepresentation());
 }