});
boundaryKeys.each(new Proc() {
@Override
public void apply(String key) {
final String k = key;
painterRegistry.registerBoundaryFunction(boundaryKeys, new BoundaryFunction() {
@Override
public <N, E extends N, T extends N> E apply(LocalDocument<N, E, T> localDoc, E parent,
N nodeAfter, Map<String, Object> before, Map<String, Object> after,
boolean isEditing) {
Point.checkRelationship(localDoc, parent, nodeAfter, "Test boundary function");