public void TestPayoutAccountHolderSuccess() { var amount = new Amount("EUR", 1000); var client = CreateMockTestClientNullRequiredFieldsRequest("Mocks/marketpay/fund/payout-account-holder-success.json"); var fund = new Fund(client); var payoutAccountHolderRequest = new PayoutAccountHolderRequest(accountCode: "189184578", accountHolderCode: "TestAccountHolder502924", amount: amount); var payoutAccountHolderResponse = fund.PayoutAccountHolder(payoutAccountHolderRequest); Assert.AreEqual("9915090894325643", payoutAccountHolderResponse.PspReference); Assert.AreEqual("testbankaccount", payoutAccountHolderResponse.BankAccountUUID); Assert.AreEqual("MerchantReference", payoutAccountHolderResponse.MerchantReference); }