use of ca.corefacility.bioinformatics.irida.ria.web.samples.SamplesController in project irida by phac-nml.
the class SamplesControllerTest method setUp.
@Before
public void setUp() {
sampleService = mock(SampleService.class);
sequencingObjectService = mock(SequencingObjectService.class);
projectService = mock(ProjectService.class);
metadataTemplateService = mock(MetadataTemplateService.class);
messageSource = mock(MessageSource.class);
updateSamplePermission = mock(UpdateSamplePermission.class);
readSamplePermission = mock(ReadSamplePermission.class);
controller = new SamplesController(sampleService, projectService, sequencingObjectService, updateSamplePermission, metadataTemplateService, messageSource);
}
Aggregations