public void ParseOptionsWithBadDefaults() { var options = new SimpleOptionsWithBadDefaults(); base.Parser.ParseArguments(new string[] {}, options); }
public void Parse_options_with_bad_defaults() { var options = new SimpleOptionsWithBadDefaults(); Assert.Throws<CommandLineParserException>( () => new CommandLineParser().ParseArguments(new string[] {}, options)); }