Search in sources :

Example 1 with RESTProjectSamplesController

use of ca.corefacility.bioinformatics.irida.web.controller.api.projects.RESTProjectSamplesController 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);
}
Also used : SampleService(ca.corefacility.bioinformatics.irida.service.sample.SampleService) ProjectService(ca.corefacility.bioinformatics.irida.service.ProjectService) RESTProjectSamplesController(ca.corefacility.bioinformatics.irida.web.controller.api.projects.RESTProjectSamplesController) Before(org.junit.Before)

Aggregations

ProjectService (ca.corefacility.bioinformatics.irida.service.ProjectService)1 SampleService (ca.corefacility.bioinformatics.irida.service.sample.SampleService)1 RESTProjectSamplesController (ca.corefacility.bioinformatics.irida.web.controller.api.projects.RESTProjectSamplesController)1 Before (org.junit.Before)1