public void Errors_should_contain_contain_rule_info()
 {
     Assert.IsTrue(RuleErrors.All(x => x.RuleId == "100.0"));
     Assert.IsTrue(RuleErrors.All(x => x.Message == "Failed ValueComparisonTest"));
 }
Ejemplo n.º 2
0
 public void Should_error_on_second_element()
 {
     Assert.IsTrue(RuleErrors.All(x => x.Id == 2));
 }
 public void Should_contain_errors_not_warnings()
 {
     Assert.IsTrue(RuleErrors.All(x => x.IsError));
 }