### Question:
DataObjectType implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof DataObjectType) { DataObjectType other = (DataObjectType) o; return Objects.equals(value, other.value); } return false; } DataObjectType();  DataObjectType(@MapsTo("value") final DataObjectTypeValue value); PropertyType getType(); DataObjectTypeValue getValue(); void setValue(final DataObjectTypeValue value); @Override int hashCode(); @Override boolean equals(Object o); @Type
    static final PropertyType type; }### Answer:
@Test public void testEquals() { assertEquals(new DataObjectType(), dataObjectType); assertNotEquals(new DataObjectType(), new Object()); }