@Test
public void testPoolReturnsTracedJedis() {

  JedisPool pool = new TracingJedisPool(new TracingConfiguration.Builder(mockTracer).build());
  Jedis jedis = pool.getResource();
  assertEquals("OK", jedis.set("key", "value"));
  assertEquals("value", jedis.get("key"));
  jedis.close();
  List<MockSpan> spans = mockTracer.finishedSpans();
  assertEquals(2, spans.size());
}