@Test public void main_givenInvalid_givenFalse_thenAskAgain() throws Exception { readStringOutput.add("no"); readIntOutput.add(-1); readStringOutput.add("false"); readIntOutput.add(0); Main.main(null); Assert.assertEquals(1, startGameInput.size()); Assert.assertEquals(false, startGameInput.get(0)); }
public static void main(String args[]) { }
Main { public static void main(String args[]) { } }
Main { public static void main(String args[]) { }  }
Main { public static void main(String args[]) { }  static void main(String args[]); }
Main { public static void main(String args[]) { }  static void main(String args[]); static Game game; static IO io; }