class A {
@Option(names = "o")
int o;
}
CommandDescriptor<Instance<A>> c = CommandFactory.DEFAULT.create(A.class);
OptionDescriptor i = c.getOption("-o");
assertEquals(Multiplicity.SINGLE, i.getMultiplicity());
assertEquals(false, i.isRequired());
assertEquals(ValueType.INTEGER, i.getType());
}