Example #1
0
        public void AddCreditBalanceTest()
        {
            ContentAPI client = ConstructServiceClient();

            AddCreditBalance acb = client.AddPrepaidBalance(1.01M, "USD");

            Assert.AreEqual(1.01M, acb.Amount);
            Assert.AreEqual("USD", acb.Currency);
            Uri paymentURL = new Uri(@"https://developer-sandbox.liondemand.com/account/c6d694b5521b928283066e8cd8d42f/add_credit_balance/1.01/USD");

            Assert.AreEqual(paymentURL, acb.PaymentURL);
        }