NodeState after = builder.getNodeState();
IndexUpdateProvider p = new IndexUpdateProvider(
new PropertyIndexEditorProvider());
EditorHook hook = new EditorHook(p);
NodeState indexed = hook.processCommit(before, after);
// first check that the index content nodes exist
checkPathExists(indexed, INDEX_DEFINITIONS_NAME, "rootIndex",
INDEX_CONTENT_NODE_NAME);
checkPathExists(indexed, "newchild", "other", INDEX_DEFINITIONS_NAME,