/**
  * Gets the service definition when an API version is supplied
  * @group integration
  */
 public function testPing()
 {
     $version = "1.0.1";
     $config = new Config(array('endpoint' => $GLOBALS['endpoint'], 'username' => $GLOBALS['adminUsername'], 'password' => $GLOBALS['adminPassword']));
     $this->client = new Client($config);
     $this->assertTrue($this->client->ping());
 }
 public function testUnsetDescription()
 {
     unset($this->testDescription['apiVersion']);
     Phockito::when($this->client->getFileContents())->return(json_encode($this->testDescription));
     $this->assertEquals(null, $this->client->getServiceDescription());
 }