IRI localTestRegistry = IRI.create(getClass().getResource(registryResourcePath));
Dictionary<String,Object> regmanConf = new Hashtable<String,Object>();
regmanConf.put(RegistryManager.REGISTRY_LOCATIONS, new String[] {localTestRegistry.toString()});
// Instantiating the registry manager will also load the registry data.
regMgr = new RegistryManagerImpl(offline, new ClerezzaOntologyProvider(tcManager, offline, parser),
regmanConf);
assertNotNull(regMgr);
// Now use this registry manager to instantiate an input source.
OntologyInputSource<OWLOntology,?> src = new LibrarySource(Locations.LIBRARY_TEST1, regMgr,