@Test
public void issueSYNCOPE258() {
// -----------------------------
// Add a custom correlation rule
// -----------------------------
SyncPolicyTO policyTO = policyService.read(9L);
policyTO.getSpecification().setUserJavaRule(TestSyncRule.class.getName());
policyService.update(policyTO.getId(), policyTO);
// -----------------------------
SyncTaskTO task = new SyncTaskTO();
task.setName("Test Sync Rule");
task.setResource(RESOURCE_NAME_WS2);