@Test
public void invokingZCountCreatesNewSpan() {

  commandCreatesNewSpan(RedisCommand.ZCOUNT,
      () -> getConnection().zCount("key".getBytes(), 0D, 0D));
  verify(mockRedisConnection()).zCount("key".getBytes(), 0D, 0D);
  commandCreatesNewSpan(RedisCommand.ZCOUNT, () -> getConnection().zCount("key".getBytes(),
      RedisZSetCommands.Range.range()));
  verify(mockRedisConnection()).zCount(eq("key".getBytes()), any(RedisZSetCommands.Range.class));
}