assertEquals("Permissions are correct", original.getAccessRights(), updated.getAccessRights());
}
@Override
protected AccessRights getDefaultResource(int selectedRealmId) {
AccessRight accessRight = new AccessRight(resourceType, new Permission(PolicyConstants.PERM_CREATE_AND_ASSIGN_ID, "policyframework"));
List<AccessRight> accessRightsList = Collections.singletonList(accessRight);
return new DefaultAccessRights(selectedRealmId, -1, "MyNewAccessRight", "A test access right.", accessRightsList,
PolicyConstants.PERSONAL_CLASS, Calendar.getInstance(), Calendar.getInstance());
}