public function testCanGetServerStatistics() { $this->setMockResponse($this->client, 'stats_get'); $response = $this->client->getServerStats(); $this->assertInternalType('array', $response); $this->assertArrayHasKey('users', $response); $this->assertArrayHasKey('total', $response); $this->assertArrayHasKey('custom', $response); }