}
@Test
public void testScopesRendering() {
ScopeRegistry reg = onManager.getScopeRegistry();
OntologyScopeFactoryImpl scf = new OntologyScopeFactoryImpl(reg, onManager.getOntologyScopeFactory()
.getNamespace(), onManager.getOntologySpaceFactory());
OntologyScope scope = null, scope2 = null;
try {
scope = scf.createOntologyScope(scopeId1, src1, src2);
scope2 = scf.createOntologyScope(scopeId2, src2);
scope.setUp();
reg.registerScope(scope);
scope2.setUp();
reg.registerScope(scope2);
} catch (DuplicateIDException e) {