use of ca.corefacility.bioinformatics.irida.repositories.joins.sample.SampleGenomeAssemblyJoinRepository in project irida by phac-nml.
the class SampleServiceImplTest method setUp.
@Before
public void setUp() {
sampleRepository = mock(SampleRepository.class);
psjRepository = mock(ProjectSampleJoinRepository.class);
analysisRepository = mock(AnalysisRepository.class);
ssoRepository = mock(SampleSequencingObjectJoinRepository.class);
qcEntryRepository = mock(QCEntryRepository.class);
sequencingObjectRepository = mock(SequencingObjectRepository.class);
sampleGenomeAssemblyJoinRepository = mock(SampleGenomeAssemblyJoinRepository.class);
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
validator = factory.getValidator();
sampleService = new SampleServiceImpl(sampleRepository, psjRepository, analysisRepository, ssoRepository, qcEntryRepository, sequencingObjectRepository, sampleGenomeAssemblyJoinRepository, userRepository, validator);
}
Aggregations