Exemplo n.º 1
0
        public void GetDeviceID_Positive()
        {
            //for Moq tests

            //Arrange
            mockCrmPaymentDetails.Setup(x => x.GetDeviceID()).Returns(paymentData.MockedResponseBodyForCRM_GetDeviceID());

            //Act
            paymentDetails.GetDeviceID();

            //Assert
            mockCrmPaymentDetails.VerifyAll();
        }