### Question:
ValidValue extends Referenceable { @Override public int hashCode() { return Objects.hash(super.hashCode(), displayName, description, usage, scope, preferredValue, isDeprecated); } ValidValue();  ValidValue(ValidValue template); String getDisplayName(); void setDisplayName(String displayName); String getDescription(); void setDescription(String description); String getUsage(); void setUsage(String usage); String getScope(); void setScope(String scope); String getPreferredValue(); void setPreferredValue(String preferredValue); boolean isDeprecated(); void setDeprecated(boolean deprecated); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); }