.setNodeId(expected.getNodeId())
.setPool(expected.getPool())
.setState(expected.getState());
for (Map.Entry<String, String> entry : expected.getProperties().entrySet()) {
builder.addProperty(entry.getKey(), entry.getValue());
}
assertDescriptorEquals(expected, builder.build());
}