### Question:
MetaDataEditorFieldDefinition extends AbstractFieldDefinition { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(defaultValue)); } MetaDataEditorFieldDefinition(); @Override MetaDataEditorFieldType getFieldType(); String getDefaultValue(); void setDefaultValue(String defaultValue); @Override boolean equals(Object o); @Override int hashCode(); static final MetaDataEditorFieldType FIELD_TYPE; }### Answer:
@Test public void testHashCode() { MetaDataEditorFieldDefinition def = new MetaDataEditorFieldDefinition(); MetaDataEditorFieldDefinition def2 = new MetaDataEditorFieldDefinition(); assertEquals(def.hashCode(), def2.hashCode()); }