public void RepoTestFail(int policyId, int memberId, int benefitId)
        {
            //double d = 0.0;
            Mock <IPolicyRepo> policyContextMock = new Mock <IPolicyRepo>();
            var policyRepo = new PolicyRepo();

            policyContextMock.Setup(x => x.GetEligibleClaimAmount(policyId, memberId, benefitId)).Returns(d);
            var result = policyRepo.GetEligibleClaimAmount(policyId, memberId, benefitId);

            Assert.AreEqual(-1, result);
            Assert.AreNotEqual(100000.00, result);
        }
        public void GetEligbleClaimAmount_Repo_ValidInput_ReturnsRightValue(int policyId, int memberId, int benefitId)
        {
            double             d = 0.0;
            Mock <IPolicyRepo> policyContextMock = new Mock <IPolicyRepo>();
            var policyRepo = new PolicyRepo();

            policyContextMock.Setup(x => x.GetEligibleClaimAmount(policyId, memberId, benefitId)).Returns(d);
            var result = policyRepo.GetEligibleClaimAmount(policyId, memberId, benefitId);

            Assert.IsNotNull(result);
            Assert.AreEqual(100000.00, result);
        }