@Test
public void findFirstOntologyIRIMultipleTest() {

    Model model = mf.createModel();
    model.add(ontologyIRI, type, ontologyObj);
    model.add(vf.createIRI("urn:ontologyIRI2"), type, ontologyObj);
    model.add(vf.createIRI("urn:ontologyIRI3"), type, ontologyObj);
    Optional<IRI> ontologyIRIOpt = OntologyModels.findFirstOntologyIRI(model, vf);
    assertTrue(ontologyIRIOpt.isPresent());
    assertTrue(ontologyIRIOpt.get().equals(ontologyIRI)
            || ontologyIRIOpt.get().equals(vf.createIRI("urn:ontologyIRI2"))
            || ontologyIRIOpt.get().equals(vf.createIRI("urn:ontologyIRI3")));
}