public function testEnableApiKeyReturnsCorrectData() { $apiKey = new ApiKey(); $apiKey->setId(1); $this->setMockResponse($this->client, array('api-keys/enableApiKey')); $result = $this->client->enableApiKey($apiKey); $this->assertInternalType('boolean', $result); $this->assertEquals(true, $result); }