}
@Test
public void adminUpdateUserAsHalJson() throws Exception {
AdminUpdateUserDto updateUserRequest = new AdminUpdateUserDto();
updateUserRequest.setUsername("charlie");
updateUserRequest.setPasswordDigest("charlie1");
String actualResponse = configureAsClient("/admin/user/1")
.accept(HalMediaType.APPLICATION_HAL_JSON)
.entity(updateUserRequest, MediaType.APPLICATION_JSON_TYPE)
.put(String.class);