Beispiel #1
0
        public void PutCustomerVerificationData(string customerId)
        {
            //Arrange
            mockBllCustomerDetails.Setup(x => x.PutCustomerVerificationData(It.IsAny <string>(), It.IsAny <string>())).Returns(customerData.PutBLLVerificationData());
            mockCRMCustomerDetails.Setup(y => y.PutCustomerVerificationData(It.IsAny <string>(), It.IsAny <string>())).Returns(customerData.PutCRMProfileData());

            //Act
            customerDetails.PutCustomerVerificationData(customerId, customerData.MockedRequestBody_Verification());

            //Assert
            mockCRMCustomerDetails.VerifyAll();
        }