Search in sources :

Example 1 with AnalysisServiceImpl

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

the class AnalysisServiceTest method setUp.

@Before
public void setUp() {
    this.analysisRepository = mock(AnalysisRepository.class);
    this.analysisOutputFileRepository = mock(AnalysisOutputFileRepository.class);
    this.validator = mock(Validator.class);
    this.analysisService = new AnalysisServiceImpl(analysisRepository, analysisOutputFileRepository, validator);
}
Also used : AnalysisServiceImpl(ca.corefacility.bioinformatics.irida.service.impl.AnalysisServiceImpl) AnalysisRepository(ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisRepository) AnalysisOutputFileRepository(ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisOutputFileRepository) Validator(javax.validation.Validator) Before(org.junit.Before)

Aggregations

AnalysisOutputFileRepository (ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisOutputFileRepository)1 AnalysisRepository (ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisRepository)1 AnalysisServiceImpl (ca.corefacility.bioinformatics.irida.service.impl.AnalysisServiceImpl)1 Validator (javax.validation.Validator)1 Before (org.junit.Before)1