BackupVersion implements Serializable, Comparable<BackupVersion> { public static BackupVersion get() { String ver = Version.getVersion(); return get(ver); }  int getMajor(); void setMajor(int major); int getMinor(); void setMinor(int minor); int getMicro(); void setMicro(int micro); static BackupVersion get(); static BackupVersion get(String ver); @Override int compareTo(BackupVersion o); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test void testGet() { BackupVersion bv = BackupVersion.get(); assertNotEquals(0, bv.getMajor(), "Major should be set"); }