Пример #1
0
        [InlineData("RC0064215_InvalidID")] // Invalid customer ID
        public void GetAmount_Positive(string customerID)
        {
            //Arrange
            mockCrmPaymentDetails.Setup(x => x.GetAmount(It.IsAny <string>())).Returns(paymentData.MockedReponseBodyForCRM_GetAmount());

            //Act
            paymentDetails.GetAmount(customerID);

            //Assert
            mockCrmPaymentDetails.VerifyAll();
        }