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

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