@Test public void registersARedisHealthCheck() throws Exception { bundle.run(configuration, environment, jedisPool); verify(healthChecks).register(eq("redis"), any(RedisHealthCheck.class)); }
public void run(T configuration, Environment environment, JedisPool jedisPool) throws Exception { this.jedisPool = jedisPool; run(configuration, environment); }
RateLimitBundle implements ConfiguredBundle<T>, ConfigurationStrategy<T> { public void run(T configuration, Environment environment, JedisPool jedisPool) throws Exception { this.jedisPool = jedisPool; run(configuration, environment); } }
RateLimitBundle implements ConfiguredBundle<T>, ConfigurationStrategy<T> { public void run(T configuration, Environment environment, JedisPool jedisPool) throws Exception { this.jedisPool = jedisPool; run(configuration, environment); }  }
RateLimitBundle implements ConfiguredBundle<T>, ConfigurationStrategy<T> { public void run(T configuration, Environment environment, JedisPool jedisPool) throws Exception { this.jedisPool = jedisPool; run(configuration, environment); }  void run(T configuration, Environment environment, JedisPool jedisPool); @Override void run(T configuration, Environment environment); @Override void initialize(Bootstrap<?> bootstrap); }
RateLimitBundle implements ConfiguredBundle<T>, ConfigurationStrategy<T> { public void run(T configuration, Environment environment, JedisPool jedisPool) throws Exception { this.jedisPool = jedisPool; run(configuration, environment); }  void run(T configuration, Environment environment, JedisPool jedisPool); @Override void run(T configuration, Environment environment); @Override void initialize(Bootstrap<?> bootstrap);  }