CliService { public String generateInstallCliScript(String requestUrl, String installDirectory) { return mustacheTemplateEngine.render(INSTALL_CLI_TEMPLATE, getInstallCliContext(requestUrl, installDirectory)); }  Optional<FileSystemResource> getLocalCliFile(); String getCliUrl(); String generateInstallCliScript(String requestUrl, String installDirectory); String getVersion();  }
@Test public void generateInstallCliScript() throws IOException { String installScript = cliService.generateInstallCliScript("http: String expected = Resources.toString(Resources.getResource("com/box/l10n/mojito/service/cli/install.sh"), StandardCharsets.UTF_8); assertEquals(expected, installScript); }