public void AuthorizePaymentRequestNullRequestThrows()
 {
     Assert.Throws <ArgumentNullException>(
         () =>
     {
         BankServiceMock.AuthorizePayment(null);
     });
 }
 public void AuthorizePaymentRequestInvalidPaymentPolicyMinAmountReturnsFalse()
 {
     Assert.False(
         BankServiceMock.AuthorizePayment(
             new Bank.Core.Common.DataContract.PaymentAuthorizationRequest(
                 ValidCreditCard,
                 $"12/{_thisYear}",
                 0m,
                 989,
                 ValidCurrency)
             ).SuccessStatus
         );
 }
 public void AuthorizePaymentRequestValidExpiryMonthReturnsTrue()
 {
     Assert.True(
         BankServiceMock.AuthorizePayment(
             new Bank.Core.Common.DataContract.PaymentAuthorizationRequest(
                 ValidCreditCard,
                 $"12/{_thisYear}",
                 10m,
                 989,
                 ValidCurrency)
             ).SuccessStatus
         );
 }