@Test
public void testReformat_multilineProperties() 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", false, UTF_8);
  // - verification
  assertThat(contentOf(f1)).isEqualTo(""
    + "key\\ \\\n"
    + "  one\\\n"
    + " = value \\\n"
    + "    1\n"
    + "key\\ \\\n"
    + "  two\\\r"
    + " = value \\\r"
    + "    2\n"
  );
}