public void testSendNotificationEmail() throws Exception{
final List<Email> emailList = getCatEmailDao().findEmailsByListId(
this.emailList.getIdList());
for (Email emails : emailList) {
assertNotNull(emails.getEmail());
final NotificationBean notification = new NotificationBean();
notification.setCode("5678");
notification.setEmail(emails.getEmail());
notification.setMessage("My personal message");
notification.setUrlUnsuscribe(URLPOLL);
mailService.sendEmailNotification(notification);
}
}