DefaultVersionManager implements VersionManager { @Override public int compareVersions(String v1, String v2) { return Version.valueOf(v1).compareTo(Version.valueOf(v2)); }  @Override boolean checkVersionConstraint(String version, String constraint); @Override int compareVersions(String v1, String v2);  }
@Test public void compareVersions() { assertTrue(versionManager.compareVersions("1.1.0", "1.0.0") > 0); }