public static FinancialFlowsAmounts GetCoPayment() { FinancialFlowsAmounts copayment = new FinancialFlowsAmounts(); FinancialFlows finacialFLows = new FinancialFlows(); finacialFLows.InNetwork = new Collection <FinancialFlow>(); finacialFLows.OutNetwork = new Collection <FinancialFlow>(); copayment.Amounts = finacialFLows; return(copayment); }
public void CoveragePlanFinancialCopaymentTest() { 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); FinancialFlowsAmounts expectedCoverage = CoveragePlanExpectedResults.GetCoPayment(); TestHelper.PropertyValuesAreEquals(coverageResponse.Plan.Financials.Copayment, expectedCoverage); }