@Test public void hashCodeTest() throws Exception { RegistrationApiEntity otherRegistration = ApiEntityTestUtils.fullRegistration(); otherRegistration.setCheckedIn(true); assertThat(registration.hashCode()).isEqualTo(otherRegistration.hashCode()); }
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }
RegistrationApiEntity extends ApiEntity { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }
RegistrationApiEntity extends ApiEntity { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  }
RegistrationApiEntity extends ApiEntity { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  String getId(); void setId(String id); PersonApiEntity getPerson(); void setPerson(PersonApiEntity person); CarApiEntity getCar(); void setCar(CarApiEntity car); String getHandicapGroupId(); void setHandicapGroupId(String handicapGroupId); String getCompetitionGroupId(); void setCompetitionGroupId(String competitionGroupId); String getNumber(); void setNumber(String number); boolean isCheckedIn(); void setCheckedIn(boolean checkedIn); @Override boolean equals(Object o); @Override int hashCode(); }
RegistrationApiEntity extends ApiEntity { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }  String getId(); void setId(String id); PersonApiEntity getPerson(); void setPerson(PersonApiEntity person); CarApiEntity getCar(); void setCar(CarApiEntity car); String getHandicapGroupId(); void setHandicapGroupId(String handicapGroupId); String getCompetitionGroupId(); void setCompetitionGroupId(String competitionGroupId); String getNumber(); void setNumber(String number); boolean isCheckedIn(); void setCheckedIn(boolean checkedIn); @Override boolean equals(Object o); @Override int hashCode();  }