use of ca.corefacility.bioinformatics.irida.service.TaxonomyService in project irida by phac-nml.
the class ProjectsControllerTest method setUp.
@Before
public void setUp() {
projectService = mock(ProjectService.class);
sampleService = mock(SampleService.class);
userService = mock(UserService.class);
projectRemoteService = mock(ProjectRemoteService.class);
cartController = mock(CartController.class);
taxonomyService = mock(TaxonomyService.class);
projectUtils = mock(ProjectControllerUtils.class);
updateSamplePermission = mock(UpdateSamplePermission.class);
messageSource = mock(MessageSource.class);
controller = new ProjectsController(projectService, sampleService, userService, projectRemoteService, projectUtils, taxonomyService, remoteApiService, workflowsService, cartController, updateSamplePermission, messageSource);
user.setId(1L);
mockSidebarInfo();
}
Aggregations