//modify virtual attribute
userMod.addVirtualAttributeToBeRemoved("virtualdata");
userMod.addVirtualAttributeToBeUpdated(attributeMod("virtualdata", "test@testoneone.com"));
// check Syncope change password
PropagationRequestTO pwdPropRequest = new PropagationRequestTO();
pwdPropRequest.setOnSyncope(true);
pwdPropRequest.addResource(RESOURCE_NAME_WS2);
userMod.setPwdPropRequest(pwdPropRequest);
toBeUpdated = userService.update(userMod.getId(), userMod);
assertNotNull(toBeUpdated);
assertEquals("test@testoneone.com", toBeUpdated.getVirtualAttributes().get(0).getValues().get(0));