Exemple #1
0
 public void Init()
 {
     if (!string.IsNullOrEmpty(Config.ApiKey))
     {
         client = new HelloSignClient(Config.ApiKey);
     }
     else
     {
         client = new HelloSignClient(Config.Username, Config.Password);
     }
 }
 public void Init()
 {
     if (!string.IsNullOrEmpty(Config.ApiKey))
     {
         client = new HelloSignClient(Config.ApiKey);
     }
     else if (!string.IsNullOrEmpty(Config.Username))
     {
         client = new HelloSignClient(Config.Username, Config.Password);
     }
     else
     {
         Assert.Fail("Config.Username or Config.ApiKey must be set to run test. Environment variables are suggested");
     }
     
 }