public void TestAccountHolderTransactionListSuccess()
        {
            var client = CreateMockTestClientNullRequiredFieldsRequest("Mocks/marketpay/fund/account-holder-transaction-list-success.json");
            var fund   = new Fund(client);
            var accountHolderTransactionListRequest =
                new AccountHolderTransactionListRequest(accountHolderCode: "TestAccountHolder423978")
            {
                TransactionStatuses = new List <AccountHolderTransactionListRequest.TransactionStatusesEnum>
                {
                    AccountHolderTransactionListRequest.TransactionStatusesEnum.PendingCredit,
                }
            };
            var transactionListForAccount = new TransactionListForAccount("2e64b396-1200-4474-b848-0cb06b52b3c7", 2);

            accountHolderTransactionListRequest.TransactionListsPerAccount = new List <TransactionListForAccount> {
                transactionListForAccount
            };
            var accountHolderTransactionListResponse = fund.AccountHolderTransactionList(accountHolderTransactionListRequest);

            Assert.AreEqual("881580394403000", accountHolderTransactionListResponse.PspReference);
            Assert.AreEqual("Success", accountHolderTransactionListResponse.ResultCode);
            Assert.AreEqual(3, accountHolderTransactionListResponse.AccountTransactionLists.Count);
            Assert.AreEqual("112548561", accountHolderTransactionListResponse.AccountTransactionLists[0].AccountCode);
            var transactions = accountHolderTransactionListResponse.AccountTransactionLists[0].Transactions;

            Assert.AreEqual(50, transactions.Count);
            Assert.AreEqual(new Amount("USD", -35000), transactions[0].Amount);
            Assert.AreEqual("PluginDemo - 126", transactions[0].Description);
            Assert.AreEqual(Transaction.TransactionStatusEnum.Debited, transactions[0].TransactionStatus);
            Assert.AreEqual(new Amount("USD", -17500), transactions[1].Amount);
            Assert.AreEqual("PluginDemo - 125", transactions[1].Description);
            Assert.AreEqual(Transaction.TransactionStatusEnum.Debited, transactions[1].TransactionStatus);
            Assert.AreEqual("162991091", accountHolderTransactionListResponse.AccountTransactionLists[1].AccountCode);
            Assert.AreEqual(false, accountHolderTransactionListResponse.AccountTransactionLists[1].HasNextPage);
            Assert.AreEqual("128653501", accountHolderTransactionListResponse.AccountTransactionLists[2].AccountCode);
            Assert.AreEqual(false, accountHolderTransactionListResponse.AccountTransactionLists[2].HasNextPage);
        }