コード例 #1
0
        public static FinancialFlowsPercents GetCoinsurance()
        {
            FinancialFlowsPercents coInsurence   = new FinancialFlowsPercents();
            FinancialFlows         finacialFLows = new FinancialFlows();

            finacialFLows.InNetwork  = new Collection <FinancialFlow>();
            finacialFLows.OutNetwork = new Collection <FinancialFlow>();
            coInsurence.Percents     = finacialFLows;
            return(coInsurence);
        }
コード例 #2
0
        public void CoveragePlanFinancialCoinsurenceTest()
        {
            restClient.Setup(x => x.Execute(It.IsAny <string>(), It.IsAny <RequestOptions>(), It.IsAny <Hashtable>()))
            .Returns(new RestResponse()
            {
                StatusCode = HttpStatusCode.OK,
                Content    = TestHelper.GetJson(TestResource.MocksPath + "Coverage.json")
            });


            coverage.ExecuteObj = restClient.Object;
            var coverageResponse = coverage.All(param);

            FinancialFlowsPercents expectedCoverage = CoveragePlanExpectedResults.GetCoinsurance();

            TestHelper.PropertyValuesAreEquals(coverageResponse.Plan.Financials.Coinsurance, expectedCoverage);
        }