VersionHelper { public String version() { String version = VersionHelper.class.getPackage().getImplementationVersion(); return version != null ? version : "unknown"; }  String version();  }
@Test public void shouldReturnNullIfNotAvailable() { VersionHelper helper = new VersionHelper(); assertThat(helper.version(), is("unknown")); }