Esempio n. 1
0
        public void GetLedgerWithdrawalExpected()
        {
            using (var client = new BitsoClient(this.TestingServerUrl, this.ApiKey, this.ApiSecret))
            {
                try
                {
                    var res = client.GetLedgerWithdrawal();
                    Assert.IsNotNull(res);
                    Assert.AreNotEqual <int>(0, res.Count);

                    res = client.GetLedgerWithdrawal(string.Empty, SortDirection.Ascending, 5);
                    Assert.IsNotNull(res);
                    Assert.AreEqual <int>(5, res.Count);
                }
                catch (BitsoException ex)
                {
                    this.TestContext.WriteLine(ex.Header);
                    throw;
                }
            }
        }