public bool RulesTests_IncomeGt_12000_AcceptsSpecificValues(int income) { var answer = new IncomeAnswer(income); var rule = new IncomeGt_12000(); return(rule.Execute(new Answers { IncomeAnswer = answer })); }
public bool RulesTests_IncomeGt_12000(IncomeRangeEnum income) { var answer = new IncomeAnswer(income); var rule = new IncomeGt_12000(); return(rule.Execute(new Answers { IncomeAnswer = answer })); }