new JCommander(s, argv);
Assert.assertTrue(s.verbose);
}
public void separatorBoth() {
SeparatorColon s = new SeparatorColon();
SeparatorEqual s2 = new SeparatorEqual();
String[] argv = { "-verbose:true", "-log=3" };
new JCommander(new Object[] { s, s2 }, argv);
Assert.assertTrue(s.verbose);
Assert.assertEquals(s2.log.intValue(), 3);