* Test a use case where there are required parameters, but you still want
* to interrogate the options which are specified.
*/
public void usageWithRequiredArgsAndResourceBundle() {
ArgsHelp argsHelp = new ArgsHelp();
JCommander jc = new JCommander(new Object[]{argsHelp, new ArgsRequired()},
java.util.ResourceBundle.getBundle("MessageBundle"));
// Should be able to display usage without triggering validation
jc.usage(new StringBuilder());
try {
jc.parse("-h");