OBridge { public static void main(String... args) { try { Options o = new Options(); CommandLine cmd = getCommandLine(o, args); if (cmd.hasOption("h")) { printHelp(o); return; } if (cmd.hasOption("v")) { printVersion(); return; } if (cmd.hasOption("c")) { new OBridge().generate(new File(cmd.getOptionValue("c"))); } else { printHelp(o); } } catch (ParseException e) { throw new OBridgeException("Exception in OBridge Main progam", e); } catch (IOException e) { throw new OBridgeException("Exception in OBridge Main progam", e); } }  static void main(String... args); void generate(OBridgeConfiguration c); OBridgeConfiguration loadConfiguration(File f); void generate(File f);  }
@Test public void testMain() { OBridge.main("-h"); OBridge.main("-v"); }