serverConfig.getModel().set("whatever");
operationContext.root.registerChild(PathElement.pathElement(SOCKET_BINDING_GROUP, "old-group"), serverConfig);
operationContext.root.getChild(PathElement.pathElement(HOST, "localhost")).getChild(PathElement.pathElement(SERVER_CONFIG, "server-one")).getModel().get(SOCKET_BINDING_GROUP).set("old-group");
final ModelNode operation = new ModelNode();
operation.get(OP_ADDR).set(pa.toModelNode());
operation.get(OP).set(WRITE_ATTRIBUTE_OPERATION);
operation.get(NAME).set(SOCKET_BINDING_GROUP);
operation.get(VALUE).set("old-group");
ServerRestartRequiredServerConfigWriteAttributeHandler.SOCKET_BINDING_GROUP_INSTANCE.execute(operationContext, operation);