EntityVersion implements Serializable { @Override public int hashCode() { return new HashCodeBuilder(35, 21).append(getObjectId()).append(getVersionId()).append(getObjectClass()) .toHashCode(); } EntityVersion();  EntityVersion(int objectId, int versionId, @Nonnull Class<? extends BaseEntity> objectClass); int getObjectId(); int getVersionId(); String getObjectClass(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testHashCode_1() throws Exception { EntityVersion fixture = new EntityVersion(1, 1, BaseEntity.class); int result = fixture.hashCode(); }