@Test public void providedEmptyList() { List<String> address = new StaticListDiscoveryConfig(7001, "").getAddresses(); assertEquals(Collections.emptyList(), address); }
public List<String> getAddresses() { return addresses; }
StaticListDiscoveryConfig implements DiscoveryConfig { public List<String> getAddresses() { return addresses; } }
StaticListDiscoveryConfig implements DiscoveryConfig { public List<String> getAddresses() { return addresses; } StaticListDiscoveryConfig(int port, List<String> addresses);  StaticListDiscoveryConfig(int port, String... addresses);  StaticListDiscoveryConfig(int port, String commaDelimitedList);  StaticListDiscoveryConfig(); }
StaticListDiscoveryConfig implements DiscoveryConfig { public List<String> getAddresses() { return addresses; } StaticListDiscoveryConfig(int port, List<String> addresses);  StaticListDiscoveryConfig(int port, String... addresses);  StaticListDiscoveryConfig(int port, String commaDelimitedList);  StaticListDiscoveryConfig(); List<String> getAddresses(); int getPort(); @Override Class getDiscoveryStrategyClass(); }
StaticListDiscoveryConfig implements DiscoveryConfig { public List<String> getAddresses() { return addresses; } StaticListDiscoveryConfig(int port, List<String> addresses);  StaticListDiscoveryConfig(int port, String... addresses);  StaticListDiscoveryConfig(int port, String commaDelimitedList);  StaticListDiscoveryConfig(); List<String> getAddresses(); int getPort(); @Override Class getDiscoveryStrategyClass(); static final String DISCOVERY_CONFIG_SYSTEM_PROPERTY_STATIC_LIST_ADDRESSES; static final String DISCOVERY_CONFIG_SYSTEM_PROPERTY_STATIC_LIST_PORT; }