@Test
public void testSendEmailSubject() throws IOException, MessagingException {

  emailSender.sendEmail(FROM_ADDR, TO_ADDR, SUBJECT_LINE, BODY, Collections.emptyList());
  assertThat(capturedMessage.value.getSubject(), is(SUBJECT_LINE));
}