public void renewPresence(final UUID accountUuid, final byte deviceId) {
    renewPresenceScript.execute(List.of(getPresenceKey(accountUuid, deviceId)),
        List.of(managerId, String.valueOf(PRESENCE_EXPIRATION_SECONDS)));
  }
@Test
  void testRenewPresence() {
    final UUID accountUuid = UUID.randomUUID();
    final byte deviceId = 1;

    final String presenceKey = ClientPresenceManager.getPresenceKey(accountUuid, deviceId);

    REDIS_CLUSTER_EXTENSION.getRedisCluster().useCluster(connection ->
        connection.sync().set(presenceKey, clientPresenceManager.getManagerId()));

    {
      final int ttl = REDIS_CLUSTER_EXTENSION.getRedisCluster().withCluster(connection ->
          connection.sync().ttl(presenceKey).intValue());

      assertEquals(-1, ttl);
    }

    clientPresenceManager.renewPresence(accountUuid, deviceId);

    {
      final int ttl = REDIS_CLUSTER_EXTENSION.getRedisCluster().withCluster(connection ->
          connection.sync().ttl(presenceKey).intValue());

      assertTrue(ttl > 0);
    }
  }