예제 #1
0
        [InlineData("RC0064215")] //Valid Customer ID
        public void GetAmount_Negative(string customerID)
        {
            //Arrange
            mockCrmPaymentDetails.Setup(x => x.GetAmount(It.IsAny <string>())).Returns(paymentData.MockedReponseBodyForCRM_GetAmount_Negative());

            //Act
            paymentDetails.GetAmount(customerID);

            //Assert
            mockCrmPaymentDetails.VerifyAll();
        }