public void ConfigurationShouldBeDescribed()
        {
            CommandDescriber.Describe(_posix, _console,  "POSIX", CommandExecutionMode.CommandLine);

            var adorner = new PosixCommandLineParser();
            foreach (var baseCommandConfig in _posix.Commands)
            {
                _console.WriteLine();
                _console.WriteLine("Description of {0} command:", baseCommandConfig.Name);
                CommandDescriber.Describe(baseCommandConfig, _console, CommandExecutionMode.CommandLine, adorner);
            }

            var description = _consoleOutInterface.GetBuffer();
            Approvals.Verify(description);
        }
 public void SetUp()
 {
     _positionals = new[] {"pos1", "pos2", "pos3"}.Select(Positional).ToList();
     _options = new[] {"opt", "opt1", "opt2", "O", "X"}.Select(Option).ToList();
     _result = new MockParserResult();
     _parser = new PosixCommandLineParser();
 }