Beispiel #1
0
        public void FormatFileExtensionTestNullCheck()
        {
            // ReSharper disable once AssignNullToNotNullAttribute
            // ReSharper disable once ReturnValueOfPureMethodIsNotUsed
            Action test = () => StringEx.FormatFileExtension(null);

            Assert.Throws <ArgumentNullException>(test);
        }