public void Help_ShouldReturnCommandSetup()
        {
            var parser        = A.Fake <Parser>();
            var commandParser = A.Fake <CommandParser <Command1Options> >(ob => ob.WithArgumentsForConstructor(() => new CommandParser <Command1Options>(parser)));

            var setup = new NamedCommandSetup <Command1Options>(parser, commandParser);

            setup.Help("helpText").Should().Be(setup);
        }
        public void Help_ShouldAssignHelpTextToCommandParser()
        {
            var parser        = A.Fake <Parser>();
            var commandParser = A.Fake <CommandParser <Command1Options> >(ob => ob.WithArgumentsForConstructor(() => new CommandParser <Command1Options>(parser)));

            var setup = new NamedCommandSetup <Command1Options>(parser, commandParser);

            setup.Help("newHelpText");

            A.CallToSet(() => commandParser.CommandHelp).To("newHelpText").MustHaveHappened();
        }