Пример #1
0
        public void ListChargesSuccessfully()
        {
            var content = File.ReadAllText("../../../Fixtures/charges_list.json");
            var client  = GetMockClient(content);

            var repo    = new ChargeRepository(client.Object);
            var charges = repo.ListCharges();

            client.VerifyAll();

            Assert.IsNotNull(charges);
        }