@Test
public void i18nJs() throws Exception {

  PrecompilePlugin plugin = new PrecompilePlugin();
  plugin.setPrefix("src/test/resources/i18nJs");
  plugin.setSuffix(".html");
  plugin.setOutput("target/helpers-i18njs.js");
  plugin.setProject(newProject());
  plugin.setHandlebarsJsFile("/handlebars-v4.7.6.js");
  plugin.execute();
  assertEquals(FileUtils.fileRead("target/helpers-i18njs.js"),
      FileUtils.fileRead("src/test/resources/helpers-i18njs.expected").trim(),
      FileUtils.fileRead("target/helpers-i18njs.js").trim());
}