ResultHandler resultHandler = mock(ResultHandler.class);
fileEventHandler.setResultHandler(resultHandler);
SubmissionThrottle throttle = mock(SubmissionThrottle.class);
fileEventHandler.setSubmissionThrottle(throttle);
fileEventHandler.onEvent(file, new ResourceId(1L, ""), null);
ArgumentCaptor<IdentificationException> exCaptor = ArgumentCaptor.forClass(IdentificationException.class);