/** * Adds the specified contact to this group. * * @param contactToAdd the MockContact to add to this group. */ public void addContact(MockContact contactToAdd) { this.contacts.add(contactToAdd); contactToAdd.setParentGroup(this); }