@Test public void testGetCurrentVersion() { IntegrationBridgeServiceInfo service = new IntegrationBridgeServiceInfo(NEW_VERSION, SERVICE_URL); service.setCurrentVersion(NEW_VERSION); assertEquals(NEW_VERSION, service.getCurrentVersion()); }
public String getCurrentVersion() { if (StringUtils.isEmpty(currentVersion)) { return NOT_AVAILABLE; } return currentVersion; }
IntegrationBridgeServiceInfo { public String getCurrentVersion() { if (StringUtils.isEmpty(currentVersion)) { return NOT_AVAILABLE; } return currentVersion; } }
IntegrationBridgeServiceInfo { public String getCurrentVersion() { if (StringUtils.isEmpty(currentVersion)) { return NOT_AVAILABLE; } return currentVersion; } IntegrationBridgeServiceInfo(String minVersion, String url); }
IntegrationBridgeServiceInfo { public String getCurrentVersion() { if (StringUtils.isEmpty(currentVersion)) { return NOT_AVAILABLE; } return currentVersion; } IntegrationBridgeServiceInfo(String minVersion, String url); String getConnectivity(); void setConnectivity(Status connectivity); String getCurrentVersion(); void setCurrentVersion(String currentVersion); String getMinVersion(); Compability getCompatibility(); String getUrl(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
IntegrationBridgeServiceInfo { public String getCurrentVersion() { if (StringUtils.isEmpty(currentVersion)) { return NOT_AVAILABLE; } return currentVersion; } IntegrationBridgeServiceInfo(String minVersion, String url); String getConnectivity(); void setConnectivity(Status connectivity); String getCurrentVersion(); void setCurrentVersion(String currentVersion); String getMinVersion(); Compability getCompatibility(); String getUrl(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }