public int GetBusinessRuleErrorCount(object tag) { return GetBusinessRuleErrors(tag).Count; }
public void ReturnsRightAmountForEmptyValidationContextWithTag() { var context = new ValidationContext(); Assert.AreEqual(0, context.GetBusinessRuleErrorCount("tag")); }