### Question:
BrooklynVersion { public String getVersion() { return VERSION_FROM_STATIC; } private  BrooklynVersion(); void checkVersions(); @Deprecated String getVersionFromClasspath(); @Nullable String getVersionFromMavenProperties(); @Nullable String getVersionFromOsgiManifest(); @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(); String getVersion(); boolean isSnapshot(); static boolean isDevelopmentEnvironment(); void logSummary(); @Deprecated static String getVersionFromStatic(); static String get(); static Iterable<BrooklynFeature> getFeatures(ManagementContext mgmt); static final BrooklynVersion INSTANCE; }### Answer:
@Test public void testGetVersion() { assertEquals(BrooklynVersion.get(), BrooklynVersion.INSTANCE.getVersion()); }