@Test void listShouldBeEmptyWhenNoMailStored() { assertThat(testee.list()).isEmpty(); }
public List<Mail> list() { return ImmutableList.copyOf(mails); }
ReceivedMailRepository { public List<Mail> list() { return ImmutableList.copyOf(mails); } }
ReceivedMailRepository { public List<Mail> list() { return ImmutableList.copyOf(mails); } ReceivedMailRepository(); }
ReceivedMailRepository { public List<Mail> list() { return ImmutableList.copyOf(mails); } ReceivedMailRepository(); void store(Mail mail); List<Mail> list(); void clear(); }
ReceivedMailRepository { public List<Mail> list() { return ImmutableList.copyOf(mails); } ReceivedMailRepository(); void store(Mail mail); List<Mail> list(); void clear();  }