public void RemoveRangeTestNullCheck() { // ReSharper disable once AssignNullToNotNullAttribute Action test = () => CollectionTEx.RemoveRange(null, "test0", "test1", "test2"); Assert.Throws <ArgumentNullException>(test); }
public void RemoveRangeTest1NullCheck() { // ReSharper disable once AssignNullToNotNullAttribute Action test = () => CollectionTEx.RemoveRange(null, new List <String> { "test0", "test1", "test2" }); test.ShouldThrow <ArgumentNullException>(); }