@Test
public void testSendEmail() throws Exception {

  this.em.setTLS("true");
  this.em.addToAddress(this.toAddr);
  this.em.setFromAddress(this.sender);
  this.em.setSubject("azkaban test email");
  this.em.setBody("azkaban test email");
  this.em.sendEmail();
  verify(this.mimeMessage).addRecipient(RecipientType.TO, this.addresses[0]);
  verify(this.mailSender).sendMessage(this.mimeMessage, this.addresses);
}