@Test public void getBaseVersionTest() { Map<String, String> testInput = getBaseVersionTestInput(); for (String version : testInput.keySet()) { String expectedBaseVersion = testInput.get(version); assertThat("Base version is not the expected", getBaseVersion(version), equalTo(expectedBaseVersion)); } }
public static String getBaseVersion(String version) { return new Semver(version).withClearedSuffixAndBuild().getValue(); }
VersionUtils { public static String getBaseVersion(String version) { return new Semver(version).withClearedSuffixAndBuild().getValue(); } }
VersionUtils { public static String getBaseVersion(String version) { return new Semver(version).withClearedSuffixAndBuild().getValue(); }  }
VersionUtils { public static String getBaseVersion(String version) { return new Semver(version).withClearedSuffixAndBuild().getValue(); }  static Boolean isVersionValid(String version); static Boolean isVersionGreaterOrEquals(String version1, String version2); static String completeIncremental(String version); static String getBaseVersion(String version); static String getMajor(String version); static boolean isRange(String version); }
VersionUtils { public static String getBaseVersion(String version) { return new Semver(version).withClearedSuffixAndBuild().getValue(); }  static Boolean isVersionValid(String version); static Boolean isVersionGreaterOrEquals(String version1, String version2); static String completeIncremental(String version); static String getBaseVersion(String version); static String getMajor(String version); static boolean isRange(String version);  }