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