Paragraphs implements Iterable<String> { @Override public Iterator<String> iterator() { return paragraphs.iterator(); } Paragraphs(String... paragraphs); boolean isEmpty(); @Override Iterator<String> iterator();  }
@Test public void iteratesOverContent() throws Exception { Paragraphs paragraphs = new Paragraphs("Content","More"); Iterator<String> iterator = paragraphs.iterator(); assertThat(iterator.next(), is("Content")); assertThat(iterator.next(), is("More")); }