### Question:
DataObjectPropertyType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyType)) { return false; } return true; }  @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; }### Answer:
@Test public void testEquals() { assertEquals(new DataObjectPropertyType(), dataObjectPropertyType); assertNotEquals(new DataObjectPropertyType(), new Object()); final DataObjectPropertyType dataObjectPropertyType = new DataObjectPropertyType(); assertEquals(dataObjectPropertyType, dataObjectPropertyType); }