@Test public void shouldCreateAContactMessageWithOneContactlists() { participantGroup = null; waitingList = null; BusinessGroupSendToChooserFormUIModel sendToChooserFormUIModel = new BusinessGroupSendToChooserFormUIModel(peterBichselAsFromIdentity, ownerGroup, participantGroup, waitingList); ContactMessage contactMessage = sendToChooserFormUIModel.getContactMessage(); List<ContactList> emailToContactLists = contactMessage.getEmailToContactLists(); verifyContactListFor(ownerContactListName, ownerGroupList, emailToContactLists); verifyBasicContactMessageParts(contactMessage); assertTrue("Contact Message has at least one address", contactMessage.hasAtLeastOneAddress()); }
public ContactMessage getContactMessage() { return contactMessage; }
BusinessGroupSendToChooserFormUIModel { public ContactMessage getContactMessage() { return contactMessage; } }
BusinessGroupSendToChooserFormUIModel { public ContactMessage getContactMessage() { return contactMessage; } BusinessGroupSendToChooserFormUIModel(Identity fromIdentity, GroupParameter ownerGroup, GroupParameter participantGroup, GroupParameter waitingList); }
BusinessGroupSendToChooserFormUIModel { public ContactMessage getContactMessage() { return contactMessage; } BusinessGroupSendToChooserFormUIModel(Identity fromIdentity, GroupParameter ownerGroup, GroupParameter participantGroup, GroupParameter waitingList); ContactMessage getContactMessage(); }
BusinessGroupSendToChooserFormUIModel { public ContactMessage getContactMessage() { return contactMessage; } BusinessGroupSendToChooserFormUIModel(Identity fromIdentity, GroupParameter ownerGroup, GroupParameter participantGroup, GroupParameter waitingList); ContactMessage getContactMessage();  }