@Test public void testGetTreeSet() throws Exception { Set m1 = db.getTreeSet("test"); m1.add(1); m1.add(2); assertTrue(m1 == db.getTreeSet("test")); assertEquals(m1, new DB(engine).getTreeSet("test")); }
private Set<IntervalBase> createSet() { replaceClassLoader(); Set<IntervalBase> intervalBaseSet = database.getTreeSet(INTERVALS); resetOldClassLoader(); return intervalBaseSet; }