/**
  * @covers WindowsAzure\ServiceManagement\Models\CreateServiceOptions::setDescription
  * @covers WindowsAzure\ServiceManagement\Models\CreateServiceOptions::getDescription
  */
 public function testSetDescription()
 {
     // Setup
     $options = new CreateServiceOptions();
     $expected = 'Description';
     // Test
     $options->setDescription($expected);
     // Assert
     $this->assertEquals($expected, $options->getDescription());
 }
 /**
  * @covers WindowsAzure\ServiceManagement\ServiceManagementRestProxy::createHostedService
  * @covers WindowsAzure\ServiceManagement\ServiceManagementRestProxy::getOperationStatus
  * @covers WindowsAzure\ServiceManagement\ServiceManagementRestProxy::_getOperationPath
  * @covers WindowsAzure\ServiceManagement\ServiceManagementRestProxy::_getHostedServicePath
  * @covers WindowsAzure\ServiceManagement\ServiceManagementRestProxy::_getPath
  * @covers WindowsAzure\ServiceManagement\Models\GetOperationStatusResult::create
  * @covers WindowsAzure\ServiceManagement\Models\HostedService::toArray
  * @covers WindowsAzure\ServiceManagement\Internal\WindowsAzureService::toArray
  * @group HostedService
  */
 public function testCreateHostedService()
 {
     // Setup
     $name = $this->getTestName();
     $label = base64_encode($name);
     $options = new CreateServiceOptions();
     $options->setLocation($this->defaultLocation);
     $options->setDescription('I am description');
     // Test
     $this->restProxy->createHostedService($name, $label, $options);
     $this->createdHostedServices[] = $name;
     // Assert
     $this->assertTrue($this->hostedServiceExists($name));
 }