}
});
assertEquals("1", exchange.getIn().getHeader(SesConstants.MESSAGE_ID));
SendEmailRequest sendEmailRequest = sesClient.getSendEmailRequest();
assertEquals("anotherFrom@example.com", sendEmailRequest.getSource());
assertEquals(2, getTo(sendEmailRequest).size());
assertTrue(getTo(sendEmailRequest).contains("anotherTo1@example.com"));
assertTrue(getTo(sendEmailRequest).contains("anotherTo2@example.com"));
assertEquals("anotherBounce@example.com", sendEmailRequest.getReturnPath());
assertEquals(2, sendEmailRequest.getReplyToAddresses().size());
assertTrue(sendEmailRequest.getReplyToAddresses().contains("anotherReplyTo1@example.com"));
assertTrue(sendEmailRequest.getReplyToAddresses().contains("anotherReplyTo2@example.com"));
assertEquals("anotherSubject", getSubject(sendEmailRequest));
assertEquals("This is my message text.", getBody(sendEmailRequest));
}