App { public static void main(String[] args) { createKingdom(new ElfKingdomFactory()); createKingdom(new OrcKingdomFactory()); }  static void main(String[] args); static void createKingdom(KingdomFactory factory);  }
@Test public void test() { String[] args = {}; App.main(args); }