@Test public void providesAJedisClientInstance() { assertThat(factory.provide()).isInstanceOf(Jedis.class); verify(pool).getResource(); }
@Override public Jedis provide() { return pool.getResource(); }
JedisFactory implements Factory<Jedis> { @Override public Jedis provide() { return pool.getResource(); } }
JedisFactory implements Factory<Jedis> { @Override public Jedis provide() { return pool.getResource(); } JedisFactory(JedisPool pool); }
JedisFactory implements Factory<Jedis> { @Override public Jedis provide() { return pool.getResource(); } JedisFactory(JedisPool pool); @Override Jedis provide(); @Override void dispose(Jedis jedis); }
JedisFactory implements Factory<Jedis> { @Override public Jedis provide() { return pool.getResource(); } JedisFactory(JedisPool pool); @Override Jedis provide(); @Override void dispose(Jedis jedis);  }