### Question:
Strings implements Iterable<String> { @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append('['); String separator = ""; for (String string : strings) { builder.append(separator); builder.append('\'').append(string).append('\''); separator = ", "; } builder.append(']'); return builder.toString(); } 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 shouldToString() { Strings strings = new Strings(Arrays.asList("string1", "string2", "string3")); String actual = strings.toString(); assertEquals("['string1', 'string2', 'string3']", actual); }