DatashareCli { public String getVersion() throws IOException { Properties versions = new Properties(); versions.load(getClass().getResourceAsStream("/git.properties")); return versions.getProperty("git.build.version"); }  DatashareCli parseArguments(String[] args); String getVersion(); boolean isBatchDaemon(); boolean isWebServer(); public Properties properties; }
@Test public void test_get_version() throws IOException { assertThat(cli.getVersion()).isEqualTo("7.0.2"); }