LSMTree tree = new LSMTree(null, comp, COMPRESSION, 16, 1024 * 1024 * 512, MMAP, -1);
for (String k : keys)
tree.insert(k.getBytes(), value);
int snapId = tree.createSnapshot();
tree.materializeSnapshot(SNAP_FILE, snapId, 0, new DefaultSnapshotConfig("blub", new int[] { 0 },
new byte[][][] { { "a".getBytes(), "bl".getBytes(), "zwum".getBytes() } }, null));
tree.linkToSnapshot(SNAP_FILE);
assertEquals(value, tree.lookup("a".getBytes()));