@Test public void testNameDoesNotResolve() throws Exception { whenQueried("test").thenFail(); ResolvingEnsembleProvider provider = newProvider(); assertEquals("test:2181", provider.getConnectionString()); }
@Override public String getConnectionString() { return _delegate.getConnectionString(); }
ResolvingEnsembleProvider implements EnsembleProvider { @Override public String getConnectionString() { return _delegate.getConnectionString(); } }
ResolvingEnsembleProvider implements EnsembleProvider { @Override public String getConnectionString() { return _delegate.getConnectionString(); } ResolvingEnsembleProvider(String connectString); @VisibleForTesting  ResolvingEnsembleProvider(EnsembleProvider delegate); }
ResolvingEnsembleProvider implements EnsembleProvider { @Override public String getConnectionString() { return _delegate.getConnectionString(); } ResolvingEnsembleProvider(String connectString); @VisibleForTesting  ResolvingEnsembleProvider(EnsembleProvider delegate); @Override void start(); @Override String getConnectionString(); @Override void close(); @Override void setConnectionString(String connectString); @Override boolean updateServerListEnabled(); }
ResolvingEnsembleProvider implements EnsembleProvider { @Override public String getConnectionString() { return _delegate.getConnectionString(); } ResolvingEnsembleProvider(String connectString); @VisibleForTesting  ResolvingEnsembleProvider(EnsembleProvider delegate); @Override void start(); @Override String getConnectionString(); @Override void close(); @Override void setConnectionString(String connectString); @Override boolean updateServerListEnabled();  }