@Test
public void testSentinelPoolReturnsTracedJedis() {

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