public void HelpTextWriter_ShouldReturnParserSetup()
        {
            var parser     = A.Fake <Parser>();
            var textWriter = A.Fake <TextWriter>();

            var setup = new ParserSetup(parser);

            setup.HelpTextWriter(textWriter).Should().Be(setup);
        }
        public void HelpTextWriter_ShouldAssignHelpTextWriterToParser()
        {
            var parser     = A.Fake <Parser>();
            var textWriter = A.Fake <TextWriter>();

            var setup = new ParserSetup(parser);

            setup.HelpTextWriter(textWriter);

            A.CallToSet(() => parser.HelpTextWriter).To(textWriter).MustHaveHappened();
        }