@Test
public void testIndexPruning() {
IndexStoreStrategy store = new ContentMirrorStoreStrategy();
NodeState root = EMPTY_NODE;
NodeBuilder index = root.builder();
for (String path : asList("/", "a/b/c", "a/b/d", "b", "d/e", "d/e/f")) {
store.update(index, path, EMPTY, KEY);
}
checkPath(index, "key", "", true);