@Test public void destroysManagedPool() throws Exception { JedisPool pool = mock(JedisPool.class); JedisPoolManager manager = new JedisPoolManager(pool); manager.stop(); verify(pool).destroy(); }
@Override public void stop() throws Exception { pool.destroy(); }
JedisPoolManager implements Managed { @Override public void stop() throws Exception { pool.destroy(); } }
JedisPoolManager implements Managed { @Override public void stop() throws Exception { pool.destroy(); } JedisPoolManager(JedisPool pool); }
JedisPoolManager implements Managed { @Override public void stop() throws Exception { pool.destroy(); } JedisPoolManager(JedisPool pool); @Override void start(); @Override void stop(); }
JedisPoolManager implements Managed { @Override public void stop() throws Exception { pool.destroy(); } JedisPoolManager(JedisPool pool); @Override void start(); @Override void stop();  }