public void Parse_ShowHelpMenu()
        {
            var validator = new TopLevelAppBuilder(null, _ops).Parse();

            Assert.True(validator.Data.ShowHelpMenu);

            var exitCode = validator
                           .ShowBanner("banner")
                           .ShowHelpMenu("help")
                           .ShowErrors()
                           .Execute();

            Assert.Equal(ExitCodes.MissingCommandLineOption, exitCode);
        }
        public void Parse_UnsupportedOption()
        {
            var validator = new TopLevelAppBuilder(new[] { "--if", "-" }, _ops).Parse();

            Assert.True(validator.Data.Errors.Count > 0);

            var exitCode = validator
                           .ShowBanner("banner")
                           .ShowHelpMenu("help")
                           .ShowErrors()
                           .Execute();

            Assert.Equal(ExitCodes.UnknownCommandLineOption, exitCode);
        }