### Question:
FileConvert extends Thread { public FileConvert(final List<File> files, final boolean unix2dos, final boolean recursive, final File tmpDir) { if (logger == null) { logger = WaarpLoggerFactory.getLogger(FileConvert.class); } this.files = files; this.unix2dos = unix2dos; this.recursive = recursive; if (tmpDir != null) { this.tmpDir = tmpDir; } } FileConvert(final List<File> files, final boolean unix2dos,
                     final boolean recursive, final File tmpDir); static void main(final String[] args); @Override void run(); boolean convert(final File input, final boolean unix2dos);  }### Answer:
@Test public void testFileConvert() throws IOException { final List<File> files = new ArrayList<File>(); final File filecomp = new File("/tmp/testFile2.txt"); final File file = new File("/tmp/testFile.txt"); FileTestUtils.createTestFile(filecomp, 10); FileTestUtils.createTestFile(file, 10); files.add(file); FileConvert fileConvert = new FileConvert(files, true, false, null); fileConvert.run(); fileConvert = new FileConvert(files, false, false, null); fileConvert.run(); assertEquals("Should be equals", WaarpStringUtils.readFile(file.getAbsolutePath()), WaarpStringUtils.readFile(filecomp.getAbsolutePath())); }