@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);