ReleaseInfo implements Serializable { public static ReleaseInfo getReleaseInfo() { return LazyInit.INSTANCE; }  static ReleaseInfo getReleaseInfo(); abstract Map<String, String> getProperties(); String getName(); String getVersion(); String getSdkVersion(); String getDefaultDockerRepoRoot(); String getDefaultDockerRepoPrefix();  }
@Test public void getReleaseInfo() throws Exception { ReleaseInfo info = ReleaseInfo.getReleaseInfo(); assertThat(info.getName(), containsString("Beam")); String version = info.getVersion(); String pattern = "\\d+\\.\\d+\\.\\d+.*"; assertTrue( String.format("%s does not match pattern %s", version, pattern), version.matches(pattern)); }