public async Task GetPaymentTransactionHistory_Should_Return_Right_Data(string guid)
        {
            IPaymentTransactionHistoryService sut = new PaymentTransactionHistoryService(_paymentTransactionHistoryRepository, _paymentTransactionHistoryMapper);
            var result = await sut.GetPaymentTransactionHistoryAsync(new GetPaymentTransactionHistoryRequest { CustomerId = Guid.NewGuid().ToString(), Invoice = guid });

            result.FirstOrDefault().Invoice.ShouldBe(guid);
        }
        public async Task EditPaymentTransactionHistory_Should_Add_Right_Entity()
        {
            var testPaymentTransactionHistory = new EditPaymentTransactionHistoryRequest
            {
                Amount             = Convert.ToDecimal("1337.17"),
                CustomerId         = Guid.NewGuid().ToString(),
                Invoice            = "b5b055349263448ca69e0bbd8b3eb90u",
                Tax                = Convert.ToDecimal("337.17"),
                Transaction_Detail = "Payment Transaction History Test 2",
            };
            IPaymentTransactionHistoryService sut = new PaymentTransactionHistoryService(_paymentTransactionHistoryRepository, _paymentTransactionHistoryMapper);
            var result = await sut.EditPaymentTransactionHistoryAsync(testPaymentTransactionHistory);

            result.Amount.ShouldBe(testPaymentTransactionHistory.Amount);
            result.CustomerId.ShouldBe(testPaymentTransactionHistory.CustomerId);
            result.Invoice.ShouldBe(testPaymentTransactionHistory.Invoice);
            result.Tax.ShouldBe(testPaymentTransactionHistory.Tax);
            result.Transaction_Detail.ShouldBe(testPaymentTransactionHistory.Transaction_Detail);
        }
        public void GetPaymentTransactionHistory_Should_Thrown_Exception_With_Null_Id()
        {
            IPaymentTransactionHistoryService sut = new PaymentTransactionHistoryService(_paymentTransactionHistoryRepository, _paymentTransactionHistoryMapper);

            sut.GetPaymentTransactionHistoryAsync(null).ShouldThrow <ArgumentNullException>();
        }