assertEquals(expected.getTypeCode(), received.getTypeCode());
assertEquals(expected.getMailAttrName(), received.getMailAttrName());
assertEquals(expected.isStore(), received.isStore());
assertEquals(expected.isNotifiable(), received.isNotifiable());
assertEquals(expected.getSenderCode(), received.getSenderCode());
MessageModel expectedModel = expected.getMessageModel();
MessageModel receivedModel = received.getMessageModel();
assertEquals(expectedModel.getBodyModel(), receivedModel.getBodyModel());
assertEquals(expectedModel.getSubjectModel(), receivedModel.getSubjectModel());
this.checkStrings(expected.getRecipientsTo(), received.getRecipientsTo());
this.checkStrings(expected.getRecipientsCc(), received.getRecipientsCc());
this.checkStrings(expected.getRecipientsBcc(), received.getRecipientsBcc());
}