203204205206207208209210
} private void argsBoolean1(String[] params, Boolean expected) { List<String> values = ImmutableList.<String>builder().add("ArgsBooleanArity").add(params).build(); ArgsBooleanArity args = singleCommandParser(ArgsBooleanArity.class).parse(values); assertEquals(args.debug, expected); }
186187188189190191192193
assertEquals(args.getVerbose().intValue(), 3); } private void argsBoolean1(String[] params, Boolean expected) { ArgsBooleanArity args = singleCommand(ArgsBooleanArity.class).parse(params); assertEquals(args.debug, expected); }