PHP Class eZ\Publish\Core\Repository\Tests\Service\Integration\UserBase

Inheritance: extends Base
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testAssignUserToUserGroup ( ) Test assigning a user group to user.
testAssignUserToUserGroupThrowsInvalidArgumentException ( ) Test assigning a user group to user throwing InvalidArgumentException.
testCreateUser ( ) Test creating a user.
testCreateUserGroup ( ) Test creating new user group.
testCreateUserGroupRequiredFieldEmpty ( ) Test creating new user group throwing ContentFieldValidationException.
testCreateUserGroupRequiredFieldMissing ( ) Test creating new user group throwing ContentFieldValidationException.
testCreateUserRequiredFieldsEmpty ( ) Test creating a user throwing ContentFieldValidationException.
testCreateUserThrowsInvalidArgumentException ( ) Test creating a user throwing InvalidArgumentException.
testCreateUserThrowsNotFoundException ( ) Test creating a user throwing NotFoundException.
testDeleteUserGroup ( ) Test deleting user group.
testDeleteUserGroupThrowsNotFoundException ( ) Test deleting user group throwing NotFoundException.
testIsPropertySet ( ) Test if property exists.
testLoadAnonymousUser ( ) Test loading anonymous user.
testLoadSubUserGroups ( ) Test loading sub groups.
testLoadSubUserGroupsThrowsNotFoundException ( ) Test loading sub groups throwing NotFoundException.
testLoadUser ( ) Test loading a user.
testLoadUserByCredentials ( ) Test loading a user by credentials.
testLoadUserByCredentialsThrowsNotFoundException ( ) Test loading a user by credentials throwing NotFoundException.
testLoadUserByCredentialsThrowsNotFoundExceptionBadPassword ( ) Test loading a user by credentials throwing NotFoundException because of bad password.
testLoadUserGroup ( ) Test loading a group.
testLoadUserGroupThrowsNotFoundException ( ) Test loading a group throwing NotFoundException.
testLoadUserGroupsOfUser ( ) Test loading user groups the user belongs to.
testLoadUserThrowsNotFoundException ( ) Test loading a user throwing NotFoundException.
testLoadUsersOfUserGroup ( ) Test loading user groups the user belongs to.
testMissingProperty ( ) Test retrieving missing property.
testMoveUserGroup ( ) Test moving a user group below another group.
testMoveUserGroupThrowsNotFoundException ( ) Test moving a user group below another group throwing NotFoundException.
testNewClass ( ) Test a new class and default values on properties.
testNewUserCreateStruct ( ) Test creating new UserCreateStruct.
testNewUserGroupCreateStruct ( ) Test creating new UserGroupCreateStruct.
testNewUserGroupUpdateStruct ( ) Test creating new UserGroupUpdateStruct.
testNewUserUpdateStruct ( ) Test creating new UserUpdateStruct.
testReadOnlyProperty ( ) Test setting read only property.
testUnAssignUserFromUserGroup ( ) Test removing a user from user group.
testUnAssignUserFromUserGroupThrowsBadStateException ( ) Test removing a user from user group throwing BadState for removing last group.
testUnAssignUserFromUserGroupThrowsInvalidArgumentException ( ) Test removing a user from user group throwing InvalidArgumentException.
testUnsetProperty ( ) Test unsetting a property.
testUpdateUser ( ) Test updating a user.
testUpdateUserGroup ( ) Test updating a user group.
testUpdateUserGroupRequiredFieldEmpty ( ) Test updating a user group throwing ContentFieldValidationException.
testUpdateUserThrowsContentValidationException ( ) Test updating a user throwing ContentValidationException.

Method Details

testAssignUserToUserGroup() public method

Test assigning a user group to user.

testAssignUserToUserGroupThrowsInvalidArgumentException() public method

Test assigning a user group to user throwing InvalidArgumentException.

testCreateUser() public method

Test creating a user.
public testCreateUser ( )

testCreateUserGroup() public method

Test creating new user group.
public testCreateUserGroup ( )

testCreateUserGroupRequiredFieldEmpty() public method

Test creating new user group throwing ContentFieldValidationException.

testCreateUserGroupRequiredFieldMissing() public method

Test creating new user group throwing ContentFieldValidationException.

testCreateUserRequiredFieldsEmpty() public method

Test creating a user throwing ContentFieldValidationException.

testCreateUserThrowsInvalidArgumentException() public method

Test creating a user throwing InvalidArgumentException.

testCreateUserThrowsNotFoundException() public method

Test creating a user throwing NotFoundException.

testDeleteUserGroup() public method

Test deleting user group.
public testDeleteUserGroup ( )

testDeleteUserGroupThrowsNotFoundException() public method

Test deleting user group throwing NotFoundException.

testIsPropertySet() public method

Test if property exists.
public testIsPropertySet ( )

testLoadAnonymousUser() public method

Test loading anonymous user.

testLoadSubUserGroups() public method

Test loading sub groups.

testLoadSubUserGroupsThrowsNotFoundException() public method

Test loading sub groups throwing NotFoundException.

testLoadUser() public method

Test loading a user.
public testLoadUser ( )

testLoadUserByCredentials() public method

Test loading a user by credentials.

testLoadUserByCredentialsThrowsNotFoundException() public method

Test loading a user by credentials throwing NotFoundException.

testLoadUserByCredentialsThrowsNotFoundExceptionBadPassword() public method

Test loading a user by credentials throwing NotFoundException because of bad password.

testLoadUserGroup() public method

Test loading a group.
public testLoadUserGroup ( )

testLoadUserGroupThrowsNotFoundException() public method

Test loading a group throwing NotFoundException.

testLoadUserGroupsOfUser() public method

Test loading user groups the user belongs to.

testLoadUserThrowsNotFoundException() public method

Test loading a user throwing NotFoundException.

testLoadUsersOfUserGroup() public method

Test loading user groups the user belongs to.

testMissingProperty() public method

Test retrieving missing property.
public testMissingProperty ( )

testMoveUserGroup() public method

Test moving a user group below another group.
public testMoveUserGroup ( )

testMoveUserGroupThrowsNotFoundException() public method

Test moving a user group below another group throwing NotFoundException.

testNewClass() public method

Test a new class and default values on properties.
public testNewClass ( )

testNewUserCreateStruct() public method

Test creating new UserCreateStruct.

testNewUserGroupCreateStruct() public method

Test creating new UserGroupCreateStruct.

testNewUserGroupUpdateStruct() public method

Test creating new UserGroupUpdateStruct.

testNewUserUpdateStruct() public method

Test creating new UserUpdateStruct.

testReadOnlyProperty() public method

Test setting read only property.

testUnAssignUserFromUserGroup() public method

Test removing a user from user group.

testUnAssignUserFromUserGroupThrowsBadStateException() public method

Test removing a user from user group throwing BadState for removing last group.

testUnAssignUserFromUserGroupThrowsInvalidArgumentException() public method

Test removing a user from user group throwing InvalidArgumentException.

testUnsetProperty() public method

Test unsetting a property.
public testUnsetProperty ( )

testUpdateUser() public method

Test updating a user.
public testUpdateUser ( )

testUpdateUserGroup() public method

Test updating a user group.
public testUpdateUserGroup ( )

testUpdateUserGroupRequiredFieldEmpty() public method

Test updating a user group throwing ContentFieldValidationException.

testUpdateUserThrowsContentValidationException() public method

Test updating a user throwing ContentValidationException.