BrooklynVersion implements BrooklynVersionService { @Override public String getVersion() { return VERSION_FROM_STATIC; } private  BrooklynVersion(); @Override void checkVersions(); @Override @Nullable String getVersionFromMavenProperties(); @Override @Nullable String getVersionFromOsgiManifest(); @Override @Nullable /** SHA1 of the last commit to brooklyn at the time this build was made. * For SNAPSHOT builds of course there may have been further non-committed changes. */ String getSha1FromOsgiManifest(); @Override String getVersion(); @Override boolean isSnapshot(); static boolean isDevelopmentEnvironment(); @Override void logSummary(); static String get(); static BrooklynVersion getInstance(); static Iterable<BrooklynFeature> getFeatures(ManagementContext mgmt); static String getOsgiVersion(); static final BrooklynVersion INSTANCE; }
@Test public void testGetVersion() { assertEquals(BrooklynVersion.get(), BrooklynVersion.INSTANCE.getVersion()); }