RecipientRewriteTable extends GenericMailet { @Override public String getMailetInfo() { return "RecipientRewriteTable Mailet"; } @Inject  RecipientRewriteTable(org.apache.james.rrt.api.RecipientRewriteTable virtualTableStore, DomainList domainList); @Override void init(); @Override void service(Mail mail); @Override String getMailetInfo(); static final String ERROR_PROCESSOR; }
@Test public void getMailetInfoShouldReturnCorrectInformation() throws Exception { assertThat(mailet.getMailetInfo()).isEqualTo("RecipientRewriteTable Mailet"); }