// Partial update - change name
String newName = "new name";
group.setName(newName);
PatchRequest<Group> patch = PatchGenerator.diffEmpty(group);
ResponseFuture<EmptyRecord> responseFuture = REST_CLIENT.sendRequest(groupBuilders.partialUpdate()
.id(createdId)
.input(patch)
.build());
Assert.assertEquals(204, responseFuture.getResponse().getStatus());