{
secHandler.setRolePrincipalInGroup(gpUid1, ro1.getName());
secHandler.setRolePrincipalInGroup(gpUid2, ro1.getName());
secHandler.setUserPrincipalInRole(uid1, ro1.getName());
secHandler.setUserPrincipalInRole(uid1, ro2.getName());
String fullPathName = new RolePrincipalImpl(gpUid1).getName();
logger.debug("Role full path name from testGetUserPrincipalsInRole()[" + fullPathName + "]");
assertEquals("The group should have contained 1 role.", 1, secHandler.getRolePrincipalsInGroup(gpUid1)
.size());
assertEquals("The group should have contained 1 role.", 1, secHandler.getRolePrincipalsInGroup(gpUid1)
.size());