Version { static synchronized String floRunnerVersion() { return Lazy.RUNNER_VERSION; }    }
@Test public void shouldReadFloVersion() throws IOException { final String expectedVersion; try (final BufferedReader reader = new BufferedReader(new InputStreamReader( Version.class.getResourceAsStream("/com/spotify/flo/flo-runner.version")))) { expectedVersion = reader.readLine().trim(); } assertThat(Version.floRunnerVersion(), is(expectedVersion)); }