Search in sources :

Example 1 with SequencingObjectServiceImpl

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

the class SequencingObjectServiceTest method setUp.

@Before
public void setUp() {
    repository = mock(SequencingObjectRepository.class);
    sequenceFileRepository = mock(SequenceFileRepository.class);
    ssoRepository = mock(SampleSequencingObjectJoinRepository.class);
    executor = mock(TaskExecutor.class);
    fileProcessingChain = mock(FileProcessingChain.class);
    concatenationRepository = mock(SequenceConcatenationRepository.class);
    service = new SequencingObjectServiceImpl(repository, sequenceFileRepository, ssoRepository, concatenationRepository, executor, fileProcessingChain, validator);
}
Also used : TaskExecutor(org.springframework.core.task.TaskExecutor) SequenceConcatenationRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceConcatenationRepository) SequencingObjectRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequencingObjectRepository) SequenceFileRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository) SequencingObjectServiceImpl(ca.corefacility.bioinformatics.irida.service.impl.SequencingObjectServiceImpl) SampleSequencingObjectJoinRepository(ca.corefacility.bioinformatics.irida.repositories.joins.sample.SampleSequencingObjectJoinRepository) FileProcessingChain(ca.corefacility.bioinformatics.irida.processing.FileProcessingChain) Before(org.junit.Before)

Aggregations

FileProcessingChain (ca.corefacility.bioinformatics.irida.processing.FileProcessingChain)1 SampleSequencingObjectJoinRepository (ca.corefacility.bioinformatics.irida.repositories.joins.sample.SampleSequencingObjectJoinRepository)1 SequenceConcatenationRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceConcatenationRepository)1 SequenceFileRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository)1 SequencingObjectRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequencingObjectRepository)1 SequencingObjectServiceImpl (ca.corefacility.bioinformatics.irida.service.impl.SequencingObjectServiceImpl)1 Before (org.junit.Before)1 TaskExecutor (org.springframework.core.task.TaskExecutor)1