public void TestAddList_2Result() { _results.AddList(new[] { new ValidationResult("a"), new ValidationResult("b") }); Assert.Equal(2, _results.Count); Assert.Equal("b", _results.Last().ErrorMessage); }
public void TestAddList_Null() { _results.AddList(null); Assert.Equal(0, _results.Count); }