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