@Test
@Ignore(value = "Reordering multiple files at one is currently not implemented. "
  + "The reason is that the current format for i18include doesn't really allow an order of the "
  + "input files.")
public void testReorder_orderByLanguage_multipleFiles() throws IOException {

  // - preparation
  final Path propertiesRootDirectory= this.tmpFolder.getRoot().toPath();
  final File f1= createI18nBundle(propertiesRootDirectory, ""
    + "keyC = valueC\n"
    + "keyB = valueB\n"
    + "keyA = valueA\n"
    + "keyE = valueE\n"
    + "keyD = valueD\n"
  );
  final File f2= createI18nBundle(propertiesRootDirectory, ""
    + "keyE = valueE\n"
    + "keyD = valueD\n"
    + "keyC = valueC\n"
    + "keyZ = valueZ\n"
    + "keyB = valueB\n"
    + "keyY = valueY\n"
    + "keyA = valueA\n"
  );final File f3= createI18nBundle(propertiesRootDirectory, ""
    + "keyY = valueY\n"
    + "keyE = valueE\n"
    + "keyC = valueC\n"
    + "keyA = valueA\n"
    + "keyZ = valueZ\n"
  );
  final FileMatcher fileMatcher= new FileMatcher(propertiesRootDirectory, new String[]{"**/*.properties"}, new String[]{""});
  // - execution
  new KiltReformatter()
    .reorderByTemplate(f1, fileMatcher, AttachCommentsTo.NEXT_PROPERTY, UTF_8);
  // - verification
  assertThat(contentOf(f1)).isEqualTo(""
    + "keyC = valueC\n"
    + "keyB = valueB\n"
    + "keyA = valueA\n"
    + "keyE = valueE\n"
    + "keyD = valueD\n"
  );
  assertThat(contentOf(f2)).isEqualTo(""
    + "keyC = valueC\n"
    + "keyB = valueB\n"
    + "keyA = valueA\n"
    + "keyE = valueE\n"
    + "keyD = valueD\n"
    + "keyZ = valueZ\n"
    + "keyY = valueY\n"
  );
  assertThat(contentOf(f3)).isEqualTo(""
    + "keyC = valueC\n"
    + "keyA = valueA\n"
    + "keyE = valueE\n"
    + "keyZ = valueZ\n"
    + "keyY = valueY\n"
  );
}