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); }
public long AddEditPaymentTypeMedicareIpDetails(PaymentTypeMedicareIp paymentTypeMedicareIpPayment) { return(_medicareIpDetailsLogic.AddEditPaymentType(paymentTypeMedicareIpPayment)); }