/**
* @return
* @throws MessagingException
*/
private Mail createMail(String[] recipients) throws MessagingException {
Mail mail = new FakeMail();
ArrayList<MailAddress> a = new ArrayList<MailAddress>(recipients.length);
for (String recipient : recipients) {
a.add(new MailAddress(recipient));
}
mail.setRecipients(a);
mail.setMessage(new FakeMimeMessage());
return mail;
}