public void IgnoreUnknownOptions_ShouldReturnParserSetup() { var parser = A.Fake <Parser>(); var setup = new ParserSetup(parser); setup.IgnoreUnknownOptions().Should().Be(setup); }
public void IgnoreUnknownOptions_ShouldSetIgnoreUnkownOptionsFlagOnParser() { var parser = A.Fake <Parser>(); var setup = new ParserSetup(parser); setup.IgnoreUnknownOptions(); A.CallToSet(() => parser.IgnoreUnknownOptions).To(true).MustHaveHappened(); }