@Test public void loadsRedisLuaScript() throws Exception { bundle.run(configuration, environment, jedisPool); final ArgumentCaptor<String> captor = ArgumentCaptor.forClass(String.class); verify(jedis).scriptLoad(captor.capture()); assertThat(sha1(captor.getValue())).isEqualTo("08b03d80e639c5b33de9df638ca4fecbd727b1d0"); }
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);  }