ToSenderDomainRepository extends GenericMailet { @Override public String getMailetInfo() { return "ToSenderDomainRepository Mailet"; } @Inject  ToSenderDomainRepository(MailRepositoryStore mailRepositoryStore); @Override void init(); @Override void service(Mail mail); @Override String getMailetInfo(); static final String URL_PREFIX; static final String PASS_THROUGH; static final String ALLOW_REPOSITORY_CREATION; }
@Test void getMailetInfoShouldReturnExpectedResult() { assertThat(mailet.getMailetInfo()) .isEqualTo("ToSenderDomainRepository Mailet"); }