public void testSessionModification() throws Exception {
SessionOntologySpace space = factory.createSessionOntologySpace(scopeId);
space.setUp();
try {
// First add an in-memory ontology with a few axioms.
space.addOntology(inMemorySrc);
// Now add a real online ontology
space.addOntology(dropSrc);
// The in-memory ontology must be in the space.
assertTrue(space.getOntologies(true).contains(ont));
// The in-memory ontology must still have its axioms.