ZInstance implements Serializable { public String getzInstanceName() { return zInstanceName; } ZInstance(IRI iri); String getPath(); void setPath(String path); IRI getIri(); String getNamespace(); String getPackageName(); String getzInstanceName(); String getLabel(); IRI getParentClassIRI(); void setLabel(String label); String getComments(); void setComments(String comments); List<ZObjectProperty> getListZObjectPropertyList(); List<ZDataProperty> getListZDataPropertyList(); void setListZDataPropertyList(List<ZDataProperty> listZDataPropertyList); void add_ObjectProperty(ZObjectProperty zObjectProperty); void add_DataProperty(ZDataProperty zDataProperty); @Override int hashCode(); @Override boolean equals(Object obj); IRI getzClassInstanciated(); void setzClassInstanciated(IRI zClassInstanciated);  }
@Test public void testzClassName() throws NoSuchFieldException, IllegalAccessException { String iriStr = "http: IRI iri = IRI.create(iriStr); ZInstance zinstance = new ZInstance(iri); assertEquals("Fields didn't match", zinstance.getzInstanceName(), "test"); }