Exemplo n.º 1
0
        public void GetPaymentTypeMedicareIpDetailsTest()
        {
            //Arrange
            PaymentTypeMedicareIp objAddEditPaymentTypeMedicareIpPayment = new PaymentTypeMedicareIp {
                PaymentTypeDetailId = 1, PaymentTypeId = 4, ContractId = 234, ServiceTypeId = null
            };
            Mock <IPaymentTypeMedicareIpRepository> mockGetPaymentTypeStopLoss = new Mock <IPaymentTypeMedicareIpRepository>();
            PaymentTypeMedicareIp result = new PaymentTypeMedicareIp();

            mockGetPaymentTypeStopLoss.Setup(f => f.GetPaymentTypeMedicareIpPayment(objAddEditPaymentTypeMedicareIpPayment)).Returns(result);
            PaymentTypeMedicareIpLogic target = new PaymentTypeMedicareIpLogic(mockGetPaymentTypeStopLoss.Object);

            //Act
            PaymentTypeMedicareIp actual = (PaymentTypeMedicareIp)target.GetPaymentType(null);

            //Assert
            Assert.AreEqual(null, actual);
        }
Exemplo n.º 2
0
 public PaymentTypeMedicareIp GetPaymentTypeMedicareIpDetails(PaymentTypeMedicareIp paymentTypeMedicareIpPayment)
 {
     return((PaymentTypeMedicareIp)_medicareIpDetailsLogic.GetPaymentType(paymentTypeMedicareIpPayment));
 }