}
@Test
public void testNotRejectValidUser() throws Exception {
MailAddress mailAddress = new MailAddress(VALID_USER + "@localhost");
SMTPSession session = setupMockedSMTPSession(setupMockedSMTPConfiguration(), mailAddress, false);
int rCode = handler.doRcpt(session, null, mailAddress).getResult();
assertEquals("Not rejected", rCode, HookReturnCode.DECLINED);
}