public void GetPaymentTypeFeeScheduleMockTest()
        {
            PaymentTypeFeeSchedule objGetPaymentTypeFeeSchedule = new PaymentTypeFeeSchedule {
                FeeSchedule = 1
            };

            var mockGetPaymentTypeFeeSchedule = new Mock <IPaymentTypeFeeScheduleRepository>();

            mockGetPaymentTypeFeeSchedule.Setup(f => f.GetPaymentTypeFeeSchedule(It.IsAny <PaymentTypeFeeSchedule>()))
            .Returns(objGetPaymentTypeFeeSchedule);
            PaymentTypeFeeScheduleLogic target = new PaymentTypeFeeScheduleLogic(mockGetPaymentTypeFeeSchedule.Object);

            PaymentTypeFeeSchedule actual = (PaymentTypeFeeSchedule)target.GetPaymentType(null);

            Assert.AreEqual(1, actual.FeeSchedule);
            // Assert.IsNotNull(actual);
        }
 public PaymentTypeFeeSchedule GetPaymentTypeFeeSchedule(PaymentTypeFeeSchedule paymentTypeFeeSchedules)
 {
     return((PaymentTypeFeeSchedule)_feeScheduleLogic.GetPaymentType(paymentTypeFeeSchedules));
 }