Ejemplo n.º 1
0
 public void GetBanksInfoExpected()
 {
     using (var client = new BitsoClient(this.TestingServerUrl, this.ApiKey, this.ApiSecret))
     {
         try
         {
             var res = client.GetBanksInfo();
             Assert.IsNotNull(res);
             Assert.AreNotEqual <int>(0, res.Count);
             Assert.IsFalse(string.IsNullOrEmpty(res[0].Name));
             Assert.IsFalse(string.IsNullOrEmpty(res[0].Code));
         }
         catch (BitsoException ex)
         {
             this.TestContext.WriteLine(ex.Header);
             throw;
         }
     }
 }