use of ca.corefacility.bioinformatics.irida.ria.web.services.AnalysesListingService in project irida by phac-nml.
the class AnalysisControllerTest method init.
@Before
public void init() {
analysisSubmissionServiceMock = mock(AnalysisSubmissionService.class);
iridaWorkflowsServiceMock = mock(IridaWorkflowsService.class);
projectServiceMock = mock(ProjectService.class);
updatePermission = mock(UpdateAnalysisSubmissionPermission.class);
sampleService = mock(SampleService.class);
sequencingObjectService = mock(SequencingObjectService.class);
analysesListingService = mock(AnalysesListingService.class);
MessageSource messageSourceMock = mock(MessageSource.class);
analysisController = new AnalysisController(analysisSubmissionServiceMock, iridaWorkflowsServiceMock, userServiceMock, sampleService, projectServiceMock, updatePermission, metadataTemplateService, sequencingObjectService, analysesListingService, messageSourceMock);
}
use of ca.corefacility.bioinformatics.irida.ria.web.services.AnalysesListingService in project irida by phac-nml.
the class AnalysesListingServiceTest method init.
@Before
public void init() {
analysisSubmissionService = mock(AnalysisSubmissionService.class);
IridaWorkflowsService iridaWorkflowsService = mock(IridaWorkflowsService.class);
UpdateAnalysisSubmissionPermission updateAnalysisPermission = mock(UpdateAnalysisSubmissionPermission.class);
MessageSource messageSource = mock(MessageSource.class);
analysesListingService = new AnalysesListingService(analysisSubmissionService, iridaWorkflowsService, updateAnalysisPermission, messageSource);
}
Aggregations