### Question:
RequestPartitionId { @Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(myPartitionDate) .append(myAllPartitions) .append(myPartitionId) .append(myPartitionName) .toHashCode(); } private  RequestPartitionId(@Nullable String thePartitionName, @Nullable Integer thePartitionId, @Nullable LocalDate thePartitionDate); private  RequestPartitionId(); boolean isAllPartitions(); @Nullable LocalDate getPartitionDate(); @Nullable String getPartitionName(); @Nullable Integer getPartitionId(); @Override String toString(); String getPartitionIdStringOrNullString(); @Override boolean equals(Object theO); @Override int hashCode(); @Nonnull static RequestPartitionId allPartitions(); @Nonnull static RequestPartitionId defaultPartition(); @Nonnull static RequestPartitionId fromPartitionId(@Nullable Integer thePartitionId); @Nonnull static RequestPartitionId fromPartitionId(@Nullable Integer thePartitionId, @Nullable LocalDate thePartitionDate); @Nonnull static RequestPartitionId fromPartitionName(@Nullable String thePartitionName); @Nonnull static RequestPartitionId fromPartitionName(@Nullable String thePartitionName, @Nullable LocalDate thePartitionDate); @Nonnull static RequestPartitionId fromPartitionIdAndName(@Nullable Integer thePartitionId, @Nullable String thePartitionName); @Nonnull static RequestPartitionId forPartitionIdAndName(@Nullable Integer thePartitionId, @Nullable String thePartitionName, @Nullable LocalDate thePartitionDate); static String stringifyForKey(RequestPartitionId theRequestPartitionId);  }### Answer:
@Test public void testHashCode() { assertEquals(31860737, RequestPartitionId.allPartitions().hashCode()); }