.setProperty("foo", "xyz");
NodeState after = builder.getNodeState();
IndexHookManager im = new IndexHookManager(
new CompositeIndexHookProvider(new Property2IndexHookProvider()));
NodeState indexed = im.processCommit(before, after);
// first check that the index content nodes exist
checkPathExists(indexed, "oak:index", "rootIndex", ":index");
checkPathExists(indexed, "newchild", "other", "oak:index", "subIndex",