@Test
public void testUnpackSfxArchives() throws Exception {

	HotColdFileCache unpackCache = new HotColdFileCache(20);
	FileFactory fileFactory = new FileFactory(unpackCache);
	IndexingConfig config = new IndexingConfig();
	config.setDetectExecutableArchives(true);
	String[] paths = {
			TestFiles.sfx_zip.getPath() + "/test.txt",
			TestFiles.sfx_7z.getPath() + "/test.txt"
	};
	for (String path : paths)
		assertTrue(fileFactory.createFile(config, new Path(path)).getFile().isFile());
}