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()));
assertEquals(null, tree.lookup("v".getBytes()));
assertEquals(value, tree.lookup("blub".getBytes()));
assertEquals(value, tree.lookup("blubber".getBytes()));
assertEquals(null, tree.lookup("ertz".getBytes()));
assertEquals(null, tree.lookup("yaggaa".getBytes()));
assertEquals(value, tree.lookup("zwum".getBytes()));