### Question:
BorgInstallation { File download(RunningMode.OSType osType) { String[] binary = getBinary(osType); if (binary == null) { log.info("Can't download binary (no binary found for OS '" + osType + "'."); return null; } return download(binary); } private  BorgInstallation(); static BorgInstallation getInstance(); void initialize(); void configure(ServerConfiguration newConfiguration, String borgBinary); BorgVersion getBorgVersion();  }### Answer:
@Test void downloadTest() { String version = new BorgVersion().getBinariesDownloadVersion(); checkDownload(RunningMode.OSType.LINUX, "borg-linux64-" + version); checkDownload(RunningMode.OSType.MAC_OS, "borg-macosx64-" + version); checkDownload(RunningMode.OSType.FREEBSD, "borg-freebsd64-" + version); assertNull(BorgInstallation.getInstance().download(RunningMode.OSType.WINDOWS)); }