### Question:
Strings implements Iterable<String> { public void add(String string) { strings.add(string); } Strings(String... strings);  Strings(List<String> strings);  Strings(); List<String> getStrings(); void add(String string); @Override Iterator<String> iterator(); @Override String toString(); int size();  }### Answer:
@Test public void shouldIterable() { Strings strings = new Strings(); strings.add("string1"); strings.add("string2"); strings.add("string3"); String result = ""; for (String string : strings) { result += string; } assertEquals("string1string2string3", result); }