DefaultMailService implements MailService<Email> { @Override public void send(final Email email) { mailSenderAdapter.send(email); }  @Override void send(final Email email); void setMailSenderAdapter(final EmailSenderAdapter mailSenderAdapter);  }
@Test public void test() throws Exception { Email email = new Email(); unit.send(email); verify(mailSenderAdapter).send(email); }