@Test
public void loadOWLOntologyTest() throws Exception {

    assertEquals(owlOntology, factory.loadOWLOntology(owlOntologyManager, protocolSource, handler, configuration));
    verify(ontologyManager).getOntologyModel(matIRI);
    verify(handler).setOntologyFormat(any(OWLOntology.class), any(OWLDocumentFormat.class));
    verify(owlOntologyManager).removeOntology(any(OWLOntology.class));
    verify(ontologyFactory, times(2)).createOWLOntology(eq(owlOntologyManager), any(OWLOntologyID.class), eq(owlProtocolIRI), eq(handler));
}