@Test(expected = IllegalStateException.class) public void testOnTargetsChangedNotCalled() { targetProvider.provideTarget(); }
@Override public String provideTarget() { return provideTargets(1).get(0); }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String provideTarget() { return provideTargets(1).get(0); } }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String provideTarget() { return provideTargets(1).get(0); } ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight);  ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight, final LoadBalancer loadBalancer); }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String provideTarget() { return provideTargets(1).get(0); } ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight);  ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight, final LoadBalancer loadBalancer); @Override String getTargetLogicalName(); @Override String provideTarget(); @Override List<String> provideTargets(final int targetsNum); @Override void onTargetsChanged(final List<HealthInfoInstance> healthTargets); @Override void targetDispatched(final String target); @Override void targetDispatchEnded(final String target, final boolean success, final long startTimeNanos); }
ConsulBasedTargetProvider implements TargetProvider, HealthyTargetsList.TargetsChangedListener { @Override public String provideTarget() { return provideTargets(1).get(0); } ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight);  ConsulBasedTargetProvider(final HealthyTargetsList healthyTargetsList, final String urlSuffix, final Map<String, Integer> tag2weight, final LoadBalancer loadBalancer); @Override String getTargetLogicalName(); @Override String provideTarget(); @Override List<String> provideTargets(final int targetsNum); @Override void onTargetsChanged(final List<HealthInfoInstance> healthTargets); @Override void targetDispatched(final String target); @Override void targetDispatchEnded(final String target, final boolean success, final long startTimeNanos);  }