@Test void clearShouldNotFailWhenNoElementStored() { assertThatCode(() -> testee.clear()) .doesNotThrowAnyException(); }
public void clear() { mails.clear(); }
ReceivedMailRepository { public void clear() { mails.clear(); } }
ReceivedMailRepository { public void clear() { mails.clear(); } ReceivedMailRepository(); }
ReceivedMailRepository { public void clear() { mails.clear(); } ReceivedMailRepository(); void store(Mail mail); List<Mail> list(); void clear(); }
ReceivedMailRepository { public void clear() { mails.clear(); } ReceivedMailRepository(); void store(Mail mail); List<Mail> list(); void clear();  }