ArchiveHandlerFactory archiveHandlerFactory = mock(ArchiveHandlerFactory.class);
when(archiveFormatResolver.forPuid("x-fmt/412")).thenReturn("ZIP");
TrueZipArchiveHandler zipHandler = new TrueZipArchiveHandler();
zipHandler.setDroidCore(submissionGateway);
zipHandler.setFactory(new ZipEntryRequestFactory());
zipHandler.setResultHandler(resultHandler);
when(archiveHandlerFactory.getHandler("ZIP")).thenReturn(zipHandler);
ArchiveFormatResolver containerFormatResolver = mock(ArchiveFormatResolver.class);