Main { public static void main(String[] args) { System.out.println("Hello world!"); }  static void main(String[] args);  }
@Test public void testMain() { Main.main(new String[]{}); Assert.assertEquals("Hello world!", outContent.toString().trim()); }