@Test public void testApp() throws CharacterCodingException, IOException, InterruptedException, ExecutionException { new Thread() { public void run() { try { EchoServer.main(new String[0]); } catch (IOException | InterruptedException | ExecutionException e) { e.printStackTrace(); } }; }.start(); for (int i = 0; i < 10; i++) { EchoClient.main(new String[0]); } }
public static void main(String[] args) { System.out.println("Hello World!"); }
App { public static void main(String[] args) { System.out.println("Hello World!"); } }
App { public static void main(String[] args) { System.out.println("Hello World!"); }  }
App { public static void main(String[] args) { System.out.println("Hello World!"); }  static void main(String[] args); }
App { public static void main(String[] args) { System.out.println("Hello World!"); }  static void main(String[] args);  }