Method |
Description |
|
testAddPolicy ( ) |
Test adding policy to role. |
|
testAssignRoleToUser ( ) |
Test assigning role to user. |
|
testAssignRoleToUserGroup ( ) |
Test assigning role to user group. |
|
testCreateRole ( ) |
Test creating a role. |
|
testCreateRoleThrowsInvalidArgumentException ( ) |
Test creating a role throwing InvalidArgumentException. |
|
testCreateRoleWithPolicies ( ) |
Test creating a role with policies. |
|
testDeleteRole ( ) |
Test deleting a role. |
|
testGetRoleAssignments ( ) |
Test fetching all role assignments for specified role. |
|
testGetRoleAssignmentsForUser ( ) |
Test fetching role assignments for specified user. |
|
testGetRoleAssignmentsForUserGroup ( ) |
Test fetching role assignments for specified user group. |
|
testIsPropertySet ( ) |
Test if property exists. |
|
testLoadPoliciesByNonExistingUserId ( ) |
Test loading policies by non existing user ID. |
|
testLoadPoliciesByUserId ( ) |
Test loading policies by user ID. |
|
testLoadRole ( ) |
Test loading role by id. |
|
testLoadRoleByIdentifier ( ) |
Test loading role by identifier. |
|
testLoadRoleByIdentifierThrowsNotFoundException ( ) |
Test loading role by identifier throwing NotFoundException. |
|
testLoadRoleThrowsNotFoundException ( ) |
Test loading role by id throwing NotFoundException. |
|
testLoadRoles ( ) |
Test loading all roles. |
|
testMissingProperty ( ) |
Test retrieving missing property. |
|
testNewClass ( ) |
Test a new class and default values on properties. |
|
testNewPolicyCreateStruct ( ) |
Test creating new PolicyCreateStruct. |
|
testNewPolicyUpdateStruct ( ) |
Test creating new PolicyUpdateStruct. |
|
testNewRoleCreateStruct ( ) |
Test creating new RoleCreateStruct. |
|
testNewRoleUpdateStruct ( ) |
Test creating new RoleUpdateStruct. |
|
testReadOnlyProperty ( ) |
Test setting read only property. |
|
testRemovePolicy ( ) |
Test removing policy from the role. |
|
testUnassignRoleFromUser ( ) |
Test unassigning role from user. |
|
testUnassignRoleFromUserGroup ( ) |
Test unassigning role from user group. |
|
testUnassignRoleFromUserGroupThrowsInvalidArgumentException ( ) |
Test unassigning role from user group which is not already assigned to the group. |
|
testUnassignRoleFromUserGroupUnauthorizedException ( ) |
Test unassigning role from user group. |
|
testUnassignRoleFromUserThrowsInvalidArgumentException ( ) |
Test unassigning role from user which is not already assigned to the user. |
|
testUnsetProperty ( ) |
Test unsetting a property. |
|
testUpdatePolicy ( ) |
Test updating policies of a role, depends on proper eZ Publish clean data
which has a number of policies and limitations applied to Anonymous role. |
|
testUpdateRole ( ) |
Test updating role. |
|
testUpdateRoleThrowsInvalidArgumentException ( ) |
Test updating role throwing InvalidArgumentException. |
|