getService() public method

public getService ( ) : OpenCloud\Compute\Service
return OpenCloud\Compute\Service
 public function setUp()
 {
     $this->provider = ComputeFactory::getProvider('rackspace', 'testuser:some_api_key');
     # parent test case needs this before addMockSubscriber is called
     $this->client = $this->provider->getClient();
     # initial call to getService will perform authentication
     $this->addMockSubscriber($this->getTestFilePath('Auth'));
     $this->addMockSubscriber($this->getTestFilePath('Extensions'));
     $this->provider->getService();
 }