final String status = execution.getStatus();
assertNotNull(status);
assertTrue(PropagationTaskExecStatus.valueOf(status).isSuccessful());
// 2. verify that synchronized role is found, with expected attributes
final AttributableCond rolenameLeafCond = new AttributableCond(AttributableCond.Type.EQ);
rolenameLeafCond.setSchema("name");
rolenameLeafCond.setExpression("testLDAPGroup");
final List<RoleTO> matchingRoles = roleService.search(NodeCond.getLeafCond(rolenameLeafCond));
assertNotNull(matchingRoles);
assertEquals(1, matchingRoles.size());
final AttributableCond usernameLeafCond = new AttributableCond(AttributeCond.Type.EQ);
usernameLeafCond.setSchema("username");
usernameLeafCond.setExpression("syncFromLDAP");
final List<UserTO> matchingUsers = userService.search(NodeCond.getLeafCond(usernameLeafCond));
assertNotNull(matchingUsers);
assertEquals(1, matchingUsers.size());
// Check for SYNCOPE-436
assertEquals("syncFromLDAP", matchingUsers.get(0).