@Test
public void invokingGeoDistCreatesNewSpan() {

  commandCreatesNewSpan(RedisCommand.GEODIST, () -> getConnection().geoDist("key".getBytes(),
      "member1".getBytes(), "member2".getBytes()));
  verify(mockRedisConnection())
      .geoDist("key".getBytes(), "member1".getBytes(), "member2".getBytes());
  commandCreatesNewSpan(RedisCommand.GEODIST, () -> getConnection().geoDist("key".getBytes(),
      "member1".getBytes(), "member2".getBytes(), null));
  verify(mockRedisConnection())
      .geoDist("key".getBytes(), "member1".getBytes(), "member2".getBytes(), null);
}