public function testGetWebhookCallReturnsCorrectData() { $webhook = new Webhook(); $webhook->setId('00000000-0000-0000-0000-000000000000'); $this->setMockResponse($this->client, array('webhooks/getWebhookCall')); $webhookCall = $this->client->getWebhookCall($webhook, '00000000-0000-0000-0000-000000000000'); $this->assertInstanceOf('\\Mgrt\\Model\\WebhookCall', $webhookCall); }