### Question:
DataObjectPropertyName implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyName)) { 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 DataObjectPropertyName(), dataObjectPropertyName); assertNotEquals(new DataObjectPropertyName(), new Object()); final DataObjectPropertyName dataObjectPropertyName = new DataObjectPropertyName(); assertEquals(dataObjectPropertyName, dataObjectPropertyName); }