### Question:
TagResponse extends OCFOMASAPIResponse { @Override public int hashCode() { return Objects.hash(super.hashCode(), getTag()); } TagResponse();  TagResponse(TagResponse template); InformalTag getTag(); void setTag(InformalTag tag); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); TagResponse testObject = getTestObject(); testObject.setTag(null); assertTrue(testObject.hashCode() != 0); }