mutate(imm, "r1", "foo:cq1", 3, "bar1");
mutate(imm, "r1", "foo:cq2", 3, "bar2");
mutate(imm, "r1", "foo:cq3", 3, "bar3");
mutate(imm, "r1", "foo:cq4", 3, "bar4");
MemoryIterator ski1 = imm.skvIterator();
mutate(imm, "r1", "foo:cq5", 3, "bar5");
SortedKeyValueIterator<Key,Value> dc = ski1.deepCopy(null);
ski1.seek(new Range(nk("r1", "foo:cq1", 3), null), LocalityGroupUtil.EMPTY_CF_SET, false);
ae(ski1, "r1", "foo:cq1", 3, "bar1");
dc.seek(new Range(nk("r1", "foo:cq2", 3), null), LocalityGroupUtil.EMPTY_CF_SET, false);
ae(dc, "r1", "foo:cq2", 3, "bar2");
imm.delete(0);
ae(ski1, "r1", "foo:cq2", 3, "bar2");
ae(dc, "r1", "foo:cq3", 3, "bar3");
ae(ski1, "r1", "foo:cq3", 3, "bar3");
ae(dc, "r1", "foo:cq4", 3, "bar4");
ae(ski1, "r1", "foo:cq4", 3, "bar4");
assertFalse(ski1.hasTop());
assertFalse(dc.hasTop());
ski1.seek(new Range(nk("r1", "foo:cq3", 3), null), LocalityGroupUtil.EMPTY_CF_SET, false);
dc.seek(new Range(nk("r1", "foo:cq4", 3), null), LocalityGroupUtil.EMPTY_CF_SET, false);
ae(dc, "r1", "foo:cq4", 3, "bar4");
assertFalse(dc.hasTop());
ae(ski1, "r1", "foo:cq3", 3, "bar3");
ae(ski1, "r1", "foo:cq4", 3, "bar4");
assertFalse(ski1.hasTop());
assertFalse(dc.hasTop());
ski1.close();
}