AbstractHealthCheckAction extends AbstractLifecycle implements HealthCheckAction { @Override public void doStop() { if(future != null) { future.cancel(true); } for(HealthCheckActionListener listener : listeners) { listener.stopWatch(this); } listeners.clear(); instance.unregister(this); } AbstractHealthCheckAction(ScheduledExecutorService scheduled, RedisHealthCheckInstance instance,
                                     ExecutorService executors); @Override void doStart(); @Override void doStop(); @Override RedisHealthCheckInstance getActionInstance(); @Override void addListener(HealthCheckActionListener listener); @Override void removeListener(HealthCheckActionListener listener); @Override void addListeners(List list); @Override void addController(HealthCheckActionController controller); @Override void addControllers(List list); @Override void removeController(HealthCheckActionController controller); @VisibleForTesting List<HealthCheckActionListener<T>> getListeners(); @VisibleForTesting List<HealthCheckActionController> getControllers();  }
@Test public void testDoStop() { }