@Test
public void invokingRenameNXCreatesNewSpan() {

  commandCreatesNewSpan(RedisCommand.RENAMENX,
      () -> getConnection().renameNX("oldName".getBytes(), "newName".getBytes()));
  verify(mockRedisConnection()).renameNX("oldName".getBytes(), "newName".getBytes());
}