I18nJsPlugin extends HandlebarsPlugin { public void setOutput(final String output) { this.output = output; }  void setBundle(final String bundle); void setOutput(final String output); void setMerge(final boolean merge); void setAmd(final boolean amd);  }
@Test public void i18nJsNoMerge() throws Exception { I18nJsPlugin plugin = new I18nJsPlugin(); plugin.setProject(newProject("src/test/resources")); plugin.setOutput("target"); plugin.execute(); assertEquals(tokens("src/test/resources/messages.expected.js"), tokens("target/messages.js")); assertEquals(tokens("src/test/resources/messages_es_AR.expected.js"), tokens("target/messages_es_AR.js")); FileUtils.copyFile(new File("target/messages.js"), new File("target/messages-tests.js")); }