Search in sources :

Example 6 with SequencingObjectService

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

the class CartControllerTest method setup.

@Before
public void setup() {
    sampleService = mock(SampleService.class);
    projectService = mock(ProjectService.class);
    userService = mock(UserService.class);
    sequencingObjectService = mock(SequencingObjectService.class);
    messageSource = mock(MessageSource.class);
    controller = new CartController(sampleService, userService, projectService, sequencingObjectService, messageSource);
    testData();
}
Also used : SequencingObjectService(ca.corefacility.bioinformatics.irida.service.SequencingObjectService) CartController(ca.corefacility.bioinformatics.irida.ria.web.analysis.CartController) SampleService(ca.corefacility.bioinformatics.irida.service.sample.SampleService) UserService(ca.corefacility.bioinformatics.irida.service.user.UserService) ProjectService(ca.corefacility.bioinformatics.irida.service.ProjectService) MessageSource(org.springframework.context.MessageSource) Before(org.junit.Before)

Aggregations

SequencingObjectService (ca.corefacility.bioinformatics.irida.service.SequencingObjectService)6 Before (org.junit.Before)6 ProjectService (ca.corefacility.bioinformatics.irida.service.ProjectService)5 SampleService (ca.corefacility.bioinformatics.irida.service.sample.SampleService)5 MessageSource (org.springframework.context.MessageSource)5 CartController (ca.corefacility.bioinformatics.irida.ria.web.analysis.CartController)2 UpdateSamplePermission (ca.corefacility.bioinformatics.irida.security.permissions.sample.UpdateSamplePermission)2 AnalysisSubmissionService (ca.corefacility.bioinformatics.irida.service.AnalysisSubmissionService)2 UserService (ca.corefacility.bioinformatics.irida.service.user.UserService)2 IridaWorkflowsService (ca.corefacility.bioinformatics.irida.service.workflow.IridaWorkflowsService)2 AnalysisSubmissionSampleProcessor (ca.corefacility.bioinformatics.irida.pipeline.results.AnalysisSubmissionSampleProcessor)1 GalaxyToolDataService (ca.corefacility.bioinformatics.irida.pipeline.upload.galaxy.GalaxyToolDataService)1 AnalysisController (ca.corefacility.bioinformatics.irida.ria.web.analysis.AnalysisController)1 PipelineController (ca.corefacility.bioinformatics.irida.ria.web.pipelines.PipelineController)1 ProjectControllerUtils (ca.corefacility.bioinformatics.irida.ria.web.projects.ProjectControllerUtils)1 ProjectSamplesController (ca.corefacility.bioinformatics.irida.ria.web.projects.ProjectSamplesController)1 SamplesController (ca.corefacility.bioinformatics.irida.ria.web.samples.SamplesController)1 AnalysesListingService (ca.corefacility.bioinformatics.irida.ria.web.services.AnalysesListingService)1 UpdateAnalysisSubmissionPermission (ca.corefacility.bioinformatics.irida.security.permissions.analysis.UpdateAnalysisSubmissionPermission)1 ReadSamplePermission (ca.corefacility.bioinformatics.irida.security.permissions.sample.ReadSamplePermission)1