use of ca.corefacility.bioinformatics.irida.processing.impl.DefaultFileProcessingChain in project irida by phac-nml.
the class DefaultFileProcessingChainTest method testFailOnProcessorChain.
@Test(expected = FileProcessorException.class)
public void testFailOnProcessorChain() throws FileProcessorTimeoutException {
FileProcessingChain fileProcessingChain = new DefaultFileProcessingChain(objectRepository, qcRepository, new FailingFileProcessorNoContinue());
when(objectRepository.exists(objectId)).thenReturn(true);
fileProcessingChain.launchChain(1L);
}
Aggregations