Person implements Serializable { @Override public int hashCode() { return (this.id == null) ? 0 : id.hashCode(); }  void addEmail(Email email); void addTag(String tag); void addAccount(Account account); void addOrganization(Organization organization); void addPhoneNumber(PhoneNumber phoneNumber); String getNickname(); void setNickname(String nickName); Set<Email> getEmails(); @JsonIgnore String getEmailValue(); void setEmails(Set<Email> emails); String getId(); void setId(String id); Name getName(); void setName(Name name); Set<String> getTags(); void setTags(Set<String> tags); Set<Account> getAccounts(); void setAccounts(Set<Account> accounts); String getDisplayName(); void setDisplayName(String displayName); String getVoot_membership_role(); void setVoot_membership_role(String voot_membership_role); Set<Organization> getOrganizations(); void setOrganizations(Set<Organization> organizations); Set<PhoneNumber> getPhoneNumbers(); void setPhoneNumbers(Set<PhoneNumber> phoneNumbers); String getError(); void setError(String error); @Override String toString(); @Override int hashCode(); @Override boolean equals(final Object other);  }
@Test public void testHashCode() { new Person().hashCode(); }