ReleaseDetails { public String getVersion() { return this.version; } private  ReleaseDetails(); private  ReleaseDetails(final String id, final String version, final Date buildDate); String getId(); String getVersion(); Date getBuildDate(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ReleaseDetails defaultInstance(); static String rightsStatement(); static ReleaseDetails getInstance(); static Set<String> getIds(); static ReleaseDetails byId(final String id); static Collection<ReleaseDetails> getDetails(); static ReleaseDetails addDetailsFromResource(final String resourceName); static final String APPLICATION_PROPERTIES_ROOT; static final String PROPERTIES_EXT; static final String LIBRARY_DETAILS_RESOURCE; }
@Test public final void testGetVersion() { ReleaseDetails instance = ReleaseDetails.byId(NAME); assertTrue("0.0.0-TEST".equals(instance.getVersion())); }