Exemple #1
0
        public void RandomOneTestNullCheck()
        {
            // ReSharper disable once AssignNullToNotNullAttribute
            // ReSharper disable once ReturnValueOfPureMethodIsNotUsed
            Action test = () => RandomEx.RandomOne(null, "", "");

            test.ShouldThrow <ArgumentNullException>();
        }