public void ExtractAllInt32TestNullCheck1() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => StringEx.ExtractAllInt32(null, 10); test.ShouldThrow <ArgumentNullException>(); }
public void ExtractAllInt32TestNullCheck() { // ReSharper disable once AssignNullToNotNullAttribute // ReSharper disable once ReturnValueOfPureMethodIsNotUsed Action test = () => StringEx.ExtractAllInt32(null); Assert.Throws <ArgumentNullException>(test); }