### Question:
AssetListResponse extends CommunityProfileOMASAPIResponse { @Override public int hashCode() { return Objects.hash(super.hashCode(), getAssets(), getStartingFromElement(), getTotalListSize()); } AssetListResponse();  AssetListResponse(AssetListResponse  template); List<AssetCollectionMember> getAssets(); void setAssets(List<AssetCollectionMember> assets); int getStartingFromElement(); void setStartingFromElement(int startingFromElement); int getTotalListSize(); void setTotalListSize(int totalListSize); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); AssetListResponse testObject = getTestObject(); testObject.setAssets(null); assertTrue(testObject.hashCode() != 0); }