public void should_test_show_task_name_and_description()
        {
            var command = Substitute.For<ICommand>();
            command.Name.Returns("help");
            command.Description.Returns("task help");

            var displayHelp = new HelpCommandDisplayer();
            var sb = new StringBuilder();

            Console.SetOut(new StringWriter(sb));
            displayHelp.Show(command);
            sb.ToString().Should().Be("  help\n\ttask help\n\r\n");
        }
        public void should_test_show_task_name_and_description()
        {
            var command = Substitute.For <ICommand>();

            command.Name.Returns("help");
            command.Description.Returns("task help");

            var displayHelp = new HelpCommandDisplayer();
            var sb          = new StringBuilder();

            Console.SetOut(new StringWriter(sb));
            displayHelp.Show(command);
            sb.ToString().Should().Be("  help\n\ttask help\n\r\n");
        }