public void ExtractAllInt64TestNullCheck1()
        {
            // ReSharper disable once AssignNullToNotNullAttribute
            // ReSharper disable once ReturnValueOfPureMethodIsNotUsed
            Action test = () => StringEx.ExtractAllInt64(null, 10);

            Assert.Throws <ArgumentNullException>(test);
        }
示例#2
0
        public void ExtractAllInt64TestNullCheck()
        {
            // ReSharper disable once AssignNullToNotNullAttribute
            // ReSharper disable once ReturnValueOfPureMethodIsNotUsed
            Action test = () => StringEx.ExtractAllInt64(null);

            test.ShouldThrow <ArgumentNullException>();
        }