JCommander jc = new JCommander(new Args1());
List<ParameterDescription> parameters = jc.getParameters();
}
public void validationShouldWork1() {
ArgsValidate1 a = new ArgsValidate1();
JCommander jc = new JCommander(a);
jc.parse(new String[] { "-age", "2 "});
Assert.assertEquals(a.age, new Integer(2));
}