/**
  * Lists the hosted services available under the current subscription.
  *
  * @return ListHostedServicesResult
  *
  * @see http://msdn.microsoft.com/en-us/library/windowsazure/ee460781.aspx
  */
 public function listHostedServices()
 {
     $context = new HttpCallContext();
     $context->setMethod(Resources::HTTP_GET);
     $context->setPath($this->_getHostedServicePath());
     $context->addStatusCode(Resources::STATUS_OK);
     $response = $this->sendContext($context);
     $serialized = $this->dataSerializer->unserialize($response->getBody());
     return ListHostedServicesResult::create($serialized);
 }