@SuppressWarnings("deprecation")
@Test
public void testMerge() throws IOException, ResourceFilterException {

    File tempFile;
    tempFile = File.createTempFile(this.getClass().getSimpleName(), ".xlf");
    tempFile.deleteOnExit();
    try (OutputStream os = new FileOutputStream(tempFile);
            InputStream is = new FileInputStream(MERGE_INPUT_1_FILE)) {
        res.merge(is, os, MERGE_BUNDLE, new FilterOptions(Locale.ENGLISH));
        os.flush();
        // TODO: Not ready yet
        // assertTrue(ResourceTestUtil.compareFiles(EXPECTED_MERGE_1_FILE,
        // tempFile));
    }
    tempFile = File.createTempFile(this.getClass().getSimpleName(), ".xlf");
    tempFile.deleteOnExit();
    try (OutputStream os = new FileOutputStream(tempFile);
            InputStream is = new FileInputStream(MERGE_INPUT_2_FILE)) {
        res.merge(is, os, MERGE_BUNDLE, new FilterOptions(Locale.JAPANESE));
        os.flush();
        // TODO: Not ready yet
        // assertTrue(ResourceTestUtil.compareFiles(EXPECTED_MERGE_2_FILE,
        // tempFile));
    }
}