import com.beust.jcommander.internal.Maps;
@Test
public class JCommanderTest {
public void simpleArgs() throws ParseException {
Args1 args = new Args1();
String[] argv = { "-debug", "-log", "2", "-float", "1.2", "-double", "1.3", "-bigdecimal", "1.4",
"-date", "2011-10-26", "-groups", "unit", "a", "b", "c" };
new JCommander(args, argv);
Assert.assertTrue(args.debug);