//2. update assigning a resource NOT forcing mandatory constraints
// AND primary: must fail with PropagationException
UserMod userMod = new UserMod();
userMod.setId(userTO.getId());
userMod.setPassword("newPassword");
userMod.addResourceToBeAdded("ws-target-resource-1");
userMod.addResourceToBeAdded("resource-testdb");
userTO = userService.update(userMod.getId(), userMod);
assertEquals("ws-target-resource-1", userTO.getPropagationStatusTOs().get(1).getResource());
assertNotNull(userTO.getPropagationStatusTOs().get(1).getFailureReason());
assertEquals(PropagationTaskExecStatus.UNSUBMITTED, userTO.getPropagationStatusTOs().get(1).getStatus());