public void PutCustomerProfileDataTest(string customerId) { //Arrange mockBllCustomerDetails.Setup(x => x.PutCustomerProfileData(It.IsAny <string>(), It.IsAny <string>())).Returns(customerData.PutBLLCustomerProfileData()); mockCRMCustomerDetails.Setup(x => x.PutCustomerProfileData(It.IsAny <string>(), It.IsAny <string>())).Returns(customerData.PutCRMProfileData()); //Act customerDetails.PutCustomerProfileData(customerId, customerData.MockedRequestBody_Profile()); //Assert mockCRMCustomerDetails.VerifyAll(); }