@Test public void testGetDefaultVersion() throws Exception { Version returnedVersion = versionUtil.getDefaultVersion(); if (returnedVersion == null || returnedVersion.getVersion() == null || returnedVersion.getVersion().trim().length() < 1) { fail("returned value from getDefaultVersion() was empty"); } if (!returnedVersion.getVersion().equals(VersionUtil.DEFAULT_VERSION)) { fail("returned value from getDefaultVersion() did have the correct version identifier"); } }
public Version getDefaultVersion() throws InvalidVersionException { return getVersion(DEFAULT_VERSION); }
VersionUtil { public Version getDefaultVersion() throws InvalidVersionException { return getVersion(DEFAULT_VERSION); } }
VersionUtil { public Version getDefaultVersion() throws InvalidVersionException { return getVersion(DEFAULT_VERSION); }  }
VersionUtil { public Version getDefaultVersion() throws InvalidVersionException { return getVersion(DEFAULT_VERSION); }  List<Version> getVersions(); Version getVersion(String version); Version getDefaultVersion(); }
VersionUtil { public Version getDefaultVersion() throws InvalidVersionException { return getVersion(DEFAULT_VERSION); }  List<Version> getVersions(); Version getVersion(String version); Version getDefaultVersion(); static final String DEFAULT_VERSION; }