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() { AllowanceCalculatorConstants constants = TestConstantsFactory.GetAllowanceCalculatorConstants(); _allowanceCalculator = new AllowanceCalculator(constants); }