public function testDocuSignClient()
 {
     global $testConfig;
     $client = new DocuSign_Client($testConfig);
     // ***
     // Enter the values you want to test against.  For instance, the below code tests
     // against v2 of the API, the demo environment, etc...
     // ***
     //TODO:
     $versionVal = "v2";
     $environVal = "demo";
     $accountVal = "123456";
     $baseUrlVal = "https://{$environVal}.docusign.net/restapi/{$versionVal}/accounts/{$accountVal}";
     $this->assertNotNull($client->getCreds());
     $this->assertNotNull($client->getHeaders());
     $this->assertNotNull($client->getCUrl());
     $this->assertEquals($client->getVersion(), $versionVal);
     $this->assertEquals($client->getEnvironment(), $environVal);
     $this->assertEquals($client->getBaseURL(), $baseUrlVal);
     $this->assertEquals($client->getAccountID(), $accountVal);
 }
 public function __construct(DocuSign_Client $client)
 {
     $this->client = $client;
     $this->curl = $client->getCUrl();
 }