Search in sources :

Example 1 with UserGroupJoinRepository

use of ca.corefacility.bioinformatics.irida.repositories.user.UserGroupJoinRepository in project irida by phac-nml.

the class UpdateUserGroupPermissionTest method setUp.

@Before
public void setUp() {
    userRepository = mock(UserRepository.class);
    userGroupRepository = mock(UserGroupRepository.class);
    userGroupJoinRepository = mock(UserGroupJoinRepository.class);
    updateUserPermission = new UpdateUserGroupPermission(userGroupRepository, userGroupJoinRepository, userRepository);
}
Also used : UserRepository(ca.corefacility.bioinformatics.irida.repositories.user.UserRepository) UserGroupRepository(ca.corefacility.bioinformatics.irida.repositories.user.UserGroupRepository) UserGroupJoinRepository(ca.corefacility.bioinformatics.irida.repositories.user.UserGroupJoinRepository) UpdateUserGroupPermission(ca.corefacility.bioinformatics.irida.security.permissions.user.UpdateUserGroupPermission) Before(org.junit.Before)

Aggregations

UserGroupJoinRepository (ca.corefacility.bioinformatics.irida.repositories.user.UserGroupJoinRepository)1 UserGroupRepository (ca.corefacility.bioinformatics.irida.repositories.user.UserGroupRepository)1 UserRepository (ca.corefacility.bioinformatics.irida.repositories.user.UserRepository)1 UpdateUserGroupPermission (ca.corefacility.bioinformatics.irida.security.permissions.user.UpdateUserGroupPermission)1 Before (org.junit.Before)1