public void ListTransactionsSuccessful()
        {
            //First, create a user, so we'll have at least one
            var repo = new TransactionRepository();
            //Then, list users
            var transactions = repo.ListTransactions(200);

            Assert.IsNotNull(transactions);
        }
 public void ListTransactionsSuccessful()
 {
     //First, create a user, so we'll have at least one
     var content = File.ReadAllText("../../Fixtures/transactions_list.json");
     var client = GetMockClient(content);
     var repo = new TransactionRepository(client.Object);
     //Then, list users
     var transactions = repo.ListTransactions(200);
     Assert.IsNotNull(transactions);
 }
 public void ListTransactionsTooHighLimit()
 {
     var repo = new TransactionRepository();
     repo.ListTransactions(201);
 }
 public void ListTransactionsNegativeParams()
 {
     var repo = new TransactionRepository();
     repo.ListTransactions(-10, -20);
 }
 public void ListTransactionsTooHighLimit()
 {
     var client = GetMockClient("");
     var repo = new TransactionRepository(client.Object);
     repo.ListTransactions(201);
 }
 public void ListTransactionsNegativeParams()
 {
     var client = GetMockClient("");
     var repo = new TransactionRepository(client.Object);
     repo.ListTransactions(-10, -20);
 }