@Test public void testAddUnclassifiedChild() { uut.addUnclassifiedChild(ontologyHierarchyListMock); verify(unclassifiedMock, times(2)).setLabel("Unclassified"); verify(unclassifiedMock, times(2)).setIri(eq(hierarchyMock.getIri() + "_unclassified")); verify(ontologyHierarchyListMock, times(2)).add(unclassifiedMock); }
public void addUnclassifiedChild(List<OntologyHierarchy> children) { for (OntologyHierarchy child : children){ addUnclassifiedChild(child); } }
OntologyUtil { public void addUnclassifiedChild(List<OntologyHierarchy> children) { for (OntologyHierarchy child : children){ addUnclassifiedChild(child); } } }
OntologyUtil { public void addUnclassifiedChild(List<OntologyHierarchy> children) { for (OntologyHierarchy child : children){ addUnclassifiedChild(child); } } private  OntologyUtil(); }
OntologyUtil { public void addUnclassifiedChild(List<OntologyHierarchy> children) { for (OntologyHierarchy child : children){ addUnclassifiedChild(child); } } private  OntologyUtil(); static OntologyUtil getInstance(); boolean createIriToAttrMap(List<OntologyHierarchy> result); boolean isValidIriMap(List<OntologyHierarchy> hierarchies); void buildIriToAttrMap(String ontologyAttr); OntologyHierarchyNameComparator getOntologyNameComparator(); void addUnclassifiedChild(List<OntologyHierarchy> children); OntologyHierarchy addUnclassifiedChild(OntologyHierarchy child); boolean isUnclassified(OntologyHierarchy hierarchy); String getUnclassifiedParentIri(OntologyHierarchy hierarchy); String getAttr(OntologyHierarchy hierarchy); Avu convertHierarchyToAvu(OntologyHierarchy hierarchy); AvuList convertHierarchiesToAvus(OntologyHierarchy hierarchy); AvuList convertHierarchiesToAvus(List<OntologyHierarchy> selectedHierarchies); List<String> getPathList(OntologyHierarchy hierarchy); List<List<String>> getAllPathsList(List<OntologyHierarchy> hierarchies); String getOrCreateHierarchyPathTag(OntologyHierarchy hierarchy); AvuList getBetaAvuList(); Avu getBetaAvu(); AvuList removeBetaAvu(List<Avu> result); OntologyHierarchy getHierarchyObject(); }
OntologyUtil { public void addUnclassifiedChild(List<OntologyHierarchy> children) { for (OntologyHierarchy child : children){ addUnclassifiedChild(child); } } private  OntologyUtil(); static OntologyUtil getInstance(); boolean createIriToAttrMap(List<OntologyHierarchy> result); boolean isValidIriMap(List<OntologyHierarchy> hierarchies); void buildIriToAttrMap(String ontologyAttr); OntologyHierarchyNameComparator getOntologyNameComparator(); void addUnclassifiedChild(List<OntologyHierarchy> children); OntologyHierarchy addUnclassifiedChild(OntologyHierarchy child); boolean isUnclassified(OntologyHierarchy hierarchy); String getUnclassifiedParentIri(OntologyHierarchy hierarchy); String getAttr(OntologyHierarchy hierarchy); Avu convertHierarchyToAvu(OntologyHierarchy hierarchy); AvuList convertHierarchiesToAvus(OntologyHierarchy hierarchy); AvuList convertHierarchiesToAvus(List<OntologyHierarchy> selectedHierarchies); List<String> getPathList(OntologyHierarchy hierarchy); List<List<String>> getAllPathsList(List<OntologyHierarchy> hierarchies); String getOrCreateHierarchyPathTag(OntologyHierarchy hierarchy); AvuList getBetaAvuList(); Avu getBetaAvu(); AvuList removeBetaAvu(List<Avu> result); OntologyHierarchy getHierarchyObject();  }