CmdLineUtils.handle(action, createOptionInstance(option));
assertEquals("handler modified description", action.getDescription());
}
public void testFindAction() {
CmdLineAction action = createAction("TestAction1");
Set<CmdLineAction> actions = Sets.newHashSet(action,
createAction("TestAction2"), createAction("TestAction3"));
assertNull(CmdLineUtils.findAction(
createOptionInstance(createActionOption("action"), "TestAction"),
actions));