@Test
public void testEquals() throws NoSuchFieldException, IllegalAccessException {

  // given
  String iriStr = "http://www.micello.com#hasFloor";
  IRI iri = IRI.create(iriStr);
  ZObjectProperty zojectProperty1 = new ZObjectProperty(iri);
  ZObjectProperty zojectProperty2 = new ZObjectProperty(iri);
  zojectProperty1.setObjectPropertyCardinality("1");
  zojectProperty1.setObjectPropertyType("String");
  zojectProperty2.setObjectPropertyCardinality("2");
  zojectProperty2.setObjectPropertyType("String");
  boolean test = zojectProperty1.equals(zojectProperty2);
  // then
  assertFalse(test);
}