Esempio n. 1
0
        public void EditPaymentTypeMedicareIpPaymentCaseMockTest1()
        {
            //Arrange
            Mock <IPaymentTypeMedicareIpRepository> mockAddEditPaymentTypeMedicareIpPayment = new Mock <IPaymentTypeMedicareIpRepository>();

            mockAddEditPaymentTypeMedicareIpPayment.Setup(f => f.AddEditPaymentTypeMedicareIpPayment(It.IsAny <PaymentTypeMedicareIp>())).Returns(1);
            PaymentTypeMedicareIpLogic target = new PaymentTypeMedicareIpLogic(mockAddEditPaymentTypeMedicareIpPayment.Object);
            PaymentTypeMedicareIp      objAddEditPaymentTypeMedicareIpPayment = new PaymentTypeMedicareIp {
                PaymentTypeDetailId = 1
            };

            //Act
            long actual = target.AddEditPaymentType(objAddEditPaymentTypeMedicareIpPayment);

            //Assert
            Assert.IsNotNull(actual);
        }
Esempio n. 2
0
 public long AddEditPaymentTypeMedicareIpDetails(PaymentTypeMedicareIp paymentTypeMedicareIpPayment)
 {
     return(_medicareIpDetailsLogic.AddEditPaymentType(paymentTypeMedicareIpPayment));
 }