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