/**
  * Executing service description defined operations sets the service description
  * @group unit
  */
 public function testMagicOperationsSetServiceDescription()
 {
     Phockito::when($this->client->getFileContents())->return(json_encode($this->testDescription));
     Phockito::when($this->client)->callParent(anything(), anything())->return(null);
     $this->assertEquals(null, $this->client->getDescription());
     $this->client->SomeOperation(array());
     $this->assertEquals(ServiceDescription::factory($this->testDescription), $this->client->getDescription());
 }