check(session1).node(childBKey, "/node/childB");
check(session1).node(childCKey, "/node/childC");
check(session1).children(node.getKey(), "childA", "childB", "childC");
// Now transiently rename child b ...
node.renameChild(session1, childBKey, name("childD"));
// Check that the session uses the new name ...
CachedNode renamed = session1.getNode(childBKey);
assertThat(renamed.getSegment(session1), is(segment("childD")));