Search in sources :

Example 1 with UserGroupService

use of ca.corefacility.bioinformatics.irida.service.user.UserGroupService in project irida by phac-nml.

the class ProjectMembersControllerTest method setUp.

@Before
public void setUp() {
    projectService = mock(ProjectService.class);
    userService = mock(UserService.class);
    projectUtils = mock(ProjectControllerUtils.class);
    messageSource = mock(MessageSource.class);
    userGroupService = mock(UserGroupService.class);
    controller = new ProjectMembersController(projectUtils, projectService, userService, userGroupService, messageSource);
    projectTestUtils = new ProjectTestUtils(projectService, userService);
    projectTestUtils.mockSidebarInfo();
}
Also used : ProjectMembersController(ca.corefacility.bioinformatics.irida.ria.web.projects.ProjectMembersController) UserService(ca.corefacility.bioinformatics.irida.service.user.UserService) UserGroupService(ca.corefacility.bioinformatics.irida.service.user.UserGroupService) ProjectControllerUtils(ca.corefacility.bioinformatics.irida.ria.web.projects.ProjectControllerUtils) ProjectService(ca.corefacility.bioinformatics.irida.service.ProjectService) MessageSource(org.springframework.context.MessageSource) Before(org.junit.Before)

Aggregations

ProjectControllerUtils (ca.corefacility.bioinformatics.irida.ria.web.projects.ProjectControllerUtils)1 ProjectMembersController (ca.corefacility.bioinformatics.irida.ria.web.projects.ProjectMembersController)1 ProjectService (ca.corefacility.bioinformatics.irida.service.ProjectService)1 UserGroupService (ca.corefacility.bioinformatics.irida.service.user.UserGroupService)1 UserService (ca.corefacility.bioinformatics.irida.service.user.UserService)1 Before (org.junit.Before)1 MessageSource (org.springframework.context.MessageSource)1