public function __construct() { $config = new Configuration(); $config->setProperty(ServiceManagementSettings::SUBSCRIPTION_ID, TestResources::serviceManagementSubscriptionId()); $config->setProperty(ServiceManagementSettings::URI, Resources::SERVICE_MANAGEMENT_URL); $config->setProperty(ServiceManagementSettings::CERTIFICATE_PATH, TestResources::serviceManagementCertificatePath()); $serviceManagementRestProxy = ServiceManagementService::create($config); parent::__construct($config, $serviceManagementRestProxy); $this->createdStorageServices = array(); $this->createdAffinityGroups = array(); $this->storageCount = count($this->restProxy->listStorageServices()->getStorageServices()); $this->affinityGroupCount = count($this->restProxy->listAffinityGroups()->getAffinityGroups()); }