public void Init() { EfcCalculatorConstants constants = TestConstantsFactory.GetEfcCalculatorConstants(); IncomeCalculator incomeCalculator = new IncomeCalculator(TestConstantsFactory.GetIncomeCalculatorConstants()); AllowanceCalculator allowanceCalculator = new AllowanceCalculator(TestConstantsFactory.GetAllowanceCalculatorConstants()); AssetContributionCalculator assetContributionCalculator = new AssetContributionCalculator(TestConstantsFactory.GetAssetContributionCalculatorConstants()); AaiContributionCalculator aaiContributionCalculator = new AaiContributionCalculator(TestConstantsFactory.GetAaiContributionCalculatorConstants()); _efcCalculator = new EfcCalculator(constants, incomeCalculator, allowanceCalculator, assetContributionCalculator, aaiContributionCalculator); }
public void Init() { AssetContributionCalculatorConstants constants = TestConstantsFactory.GetAssetContributionCalculatorConstants(); _calculator = new AssetContributionCalculator(constants); }