public void ListFeeSuccessfully()
 {
     var repo = new FeeRepository();
     var fees = repo.ListFees();
     Assert.IsNotNull(fees);
     Assert.IsTrue(fees.Any());
 }
Exemple #2
0
        public void ListFeeSuccessfully()
        {
            var content = File.ReadAllText("../../Fixtures/fees_list.json");
            var client = GetMockClient(content);

            var repo = new FeeRepository(client.Object);
            var fees = repo.ListFees();
            Assert.IsNotNull(fees);
            Assert.IsTrue(fees.Any());
        }