conf.set(SLAEmailEventListener.BLACKLIST_CACHE_TIMEOUT, "1");
conf.set(SLAEmailEventListener.BLACKLIST_FAIL_COUNT, "2");
conf.set(SLAService.CONF_ALERT_EVENTS, SLAEvent.EventStatus.START_MISS.name() + ","
+ SLAEvent.EventStatus.END_MISS + "," + SLAEvent.EventStatus.DURATION_MISS);
greenMail = new GreenMail(new ServerSetup(SMTP_TEST_PORT, null, "smtp"));
greenMail.start();
services.init();
slaEmailListener = new SLAEmailEventListener();
slaEmailListener.init(conf);
}