*/
public class MailMessageTestCase {
@Test
public void propsSet() {
final MailMessageBuilder.MailMessage message = new MailMessageBuilder().
from("from").addTo("to").subject("subject").body("body").
contentType("contentType").build();
Assert.assertEquals("from incorrect", "from", message.getFrom());
Assert.assertEquals("to incorrect", "to", message.getTo()[0]);
Assert.assertEquals("subject incorrect", "subject", message.getSubject());