use of ca.corefacility.bioinformatics.irida.repositories.user.UserRepository 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);
}
use of ca.corefacility.bioinformatics.irida.repositories.user.UserRepository in project irida by phac-nml.
the class UserServiceImplTest method setUp.
@Before
public void setUp() {
validator = mock(Validator.class);
userRepository = mock(UserRepository.class);
passwordEncoder = mock(PasswordEncoder.class);
pujRepository = mock(ProjectUserJoinRepository.class);
userService = new UserServiceImpl(userRepository, pujRepository, passwordEncoder, validator);
}
Aggregations