*/
public class TypeEditorTest {
@Test
public void ignoreHidden() throws CommitFailedException {
EditorHook hook = new EditorHook(new TypeEditorProvider());
NodeState root = new InitialContent().initialize(EMPTY_NODE);
NodeBuilder builder = root.builder();
NodeState before = builder.getNodeState();
builder.child(":hidden");
NodeState after = builder.getNodeState();
hook.processCommit(before, after);
before = after;
builder.child(":hidden").setProperty("prop", "value");
after = builder.getNodeState();
hook.processCommit(before, after);
before = after;
builder.removeChildNode(":hidden");
after = builder.getNodeState();
hook.processCommit(before, after);
}