getClient() public method

public getClient ( ) : OpenCloud\Rackspace
return OpenCloud\Rackspace
 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();
 }