@BeforeClass
public static void setup() {
Dictionary<String,Object> onmconf = new Hashtable<String,Object>();
// An ONManagerImpl with no store and default settings
ONManager onm = new ONManagerImpl(null, null, new OfflineConfigurationImpl(onmconf), onmconf);
sesmgr = new SessionManagerImpl(null, onmconf);
scopeFactory = onm.getOntologyScopeFactory();
spaceFactory = onm.getOntologySpaceFactory();
scopeRegistry = onm.getScopeRegistry();
assertNotNull(spaceFactory);
assertNotNull(scopeFactory);
OWLOntologyManager mgr = OWLOntologyManagerFactory.createOWLOntologyManager(null);
try {
src1 = new RootOntologySource(mgr.createOntology(baseIri), null);