public void TestNull(Type expectedExceptionType, string str)
        {
            var notation  = new ReversePolishNotation();
            var newString = str;

            Assert.Throws(expectedExceptionType,
                          () => notation.GetNextChar(ref newString, out _));
        }