### Question:
AssetElementType extends AssetPropertyElementBase { @Override public int hashCode() { return elementTypeBean.hashCode(); } AssetElementType(ElementType elementTypeBean);  AssetElementType(AssetElementType templateType); String getElementTypeId(); String getElementTypeName(); long getElementTypeVersion(); String getElementTypeDescription(); String getElementSourceServer(); ElementOrigin getElementOrigin(); String getElementHomeMetadataCollectionId(); String getElementHomeMetadataCollectionName(); String getElementLicense(); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); }