### Question:
ArrayListDisplay { public static int displayArrayList() { int counter = 0; ArrayList<Coffee> coffees = new ArrayList<Coffee>(); for (Coffee c : new CoffeeGenerator(10)) { coffees.add(c); counter++; } System.out.println(coffees); return counter; }  static int displayArrayList();  }### Answer:
@Test public void testDisplayArrayList() throws Exception { Assert.assertEquals(10, ArrayListDisplay.displayArrayList()); }