public void IllegalSwitch() { BadSwitch config = new BadSwitch(); CommandLineParser parser = new CommandLineParser(string.Empty, config); }
public void IllegalSwitch() { BadSwitch config = new BadSwitch(); Assert.Throws <ArgumentOutOfRangeException>(() => new CommandLineParser(string.Empty, config)); }