userTO.getResources().clear();
userTO = createUser(userTO);
assertNotNull(userTO);
UserMod userMod = new UserMod();
userMod.setId(userTO.getId());
// this resource has not a mapping for Password
userMod.addResourceToBeAdded("ws-target-resource-update");
userTO = userService.update(userTO.getId(), userMod);
assertNotNull(userTO);
}