use of ca.corefacility.bioinformatics.irida.service.sample.MetadataTemplateService 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);
}
use of ca.corefacility.bioinformatics.irida.service.sample.MetadataTemplateService in project irida by phac-nml.
the class SISTRSampleUpdaterTest method setUp.
@Before
public void setUp() {
sampleService = mock(SampleService.class);
metadataTemplateService = mock(MetadataTemplateService.class);
updater = new SISTRSampleUpdater(metadataTemplateService, sampleService);
}
Aggregations