ArrayList servers = new ArrayList();
servers.add(URISERVER);
SMTPSession session = setupMockedSMTPSession(setupMockedMail(setupMockedMimeMessageMP("http://" + BAD_DOMAIN1 + "/" + " " +"http://" + GOOD_DOMAIN + "/")));
URIRBLHandler handler = new URIRBLHandler();
handler.setDNSService(setupMockedDnsServer());
handler.setUriRblServer(servers);
HookResult response = handler.onMessage(session, mockedMail);
assertEquals("Email was rejected", response.getResult(), HookReturnCode.DENY);
}