@Test
public void testReformat_multilineProperties_ToSingleLine() throws IOException {

  // - preparation
  final Path propertiesRootDirectory= this.tmpFolder.getRoot().toPath();
  final File f1= createI18nBundle(propertiesRootDirectory, ""
    + "\tkey\\ \\\n"
    + "  one\\\n"
    + "  : value \\\n"
    + "    1\n"
    + "key\\ \\\n"
    + "  two\\\r"
    + "  = \t value \\\r"
    + "    2\n"
  );
  final FileMatcher fileMatcher= new FileMatcher(propertiesRootDirectory, new String[]{"**/*.properties"}, new String[]{""});
  // - execution
  new KiltReformatter()
    .reformat(fileMatcher, "<key> = <value>\\n", true, UTF_8);
  // - verification
  System.out.println("SOLL:\n"
    + "key one = value 1\n"
    + "key two = value 2\n"
  );
  System.out.println("IST:\n"
    + contentOf(f1));
  assertThat(contentOf(f1)).isEqualTo(""
    + "key\\ one = value 1\n"
    + "key\\ two = value 2\n"
  );
}