public function testGetApiKeyReturnsCorrectData() { $this->setMockResponse($this->client, array('api-keys/getApiKey')); $apiKey = $this->client->getApiKey(1); $this->assertInstanceOf('\\Mgrt\\Model\\ApiKey', $apiKey); }