ReleaseDetails { public String getVersion() { return this.version; } private  ReleaseDetails(); private  ReleaseDetails(final String version, final Date buildDate); String getVersion(); Date getBuildDate(); @SuppressWarnings("static-method") String getRights(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ReleaseDetails getInstance();  }
@Test public final void testGetVersion() { ReleaseDetails instance = ReleaseDetails.getInstance(); assertEquals(instance.getVersion(), "0.1.2-TESTER"); }