public int GetWarningCount() { return GetWarnings().Count; }
public void ReturnsZeroForContextWithoutErrors() { var context = new ValidationContext(); Assert.AreEqual(0, context.GetWarningCount()); }