public void WhenRuleSet_DifferentData_Throws(Tuple <bool, bool, bool> param, int number) { var rule = new WhenFluentRuleSet(number); var validator = new Validator(); Assert.That(() => validator.Validate(rule, param, null), Throws.TypeOf <WhenException>()); }
public void WhenRuleSet_DifferentData_CorrectResults(Tuple <bool, bool, bool> param, int number) { var rule = new WhenFluentRuleSet(number); var validator = new Validator(); validator.Validate(rule, param, null); }