code: def test_duplicate_connection(admin_client):
      """Test Duplicate multiple connection with suffix"""
      conn1 = Connection(
          conn_id="test_duplicate_gcp_connection",
          conn_type="Google Cloud",
          description="Google Cloud Connection",
      )
      conn2 = Connection(
          conn_id="test_duplicate_mysql_connection",
          conn_type="FTP",
          description="MongoDB2",
          host="localhost",
          schema="airflow",
          port=3306,
      )
      conn3 = Connection(
          conn_id="test_duplicate_postgres_connection_copy1",
          conn_type="FTP",
          description="Postgres",
          host="localhost",
          schema="airflow",
          port=3306,
      )
      with create_session() as session:
          session.query(Connection).delete()
          session.add_all([conn1, conn2, conn3])
          session.commit()
  
      data = {"action": "mulduplicate", "rowid": [conn1.id, conn3.id]}
      resp = admin_client.post(
          "/connection/action_post", data=data, follow_redirects=True
      )
      assert resp.status_code == 200
  
      expected_connections_ids = {
          "test_duplicate_gcp_connection",
          "test_duplicate_gcp_connection_copy1",
          "test_duplicate_mysql_connection",
          "test_duplicate_postgres_connection_copy1",
          "test_duplicate_postgres_connection_copy2",
      }
      connections_ids = {
          conn.conn_id for conn in session.query(Connection.conn_id)
      }
      assert expected_connections_ids == connections_ids
  
imports: from __future__ import annotations
  import json
  from typing import Any
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  from airflow.models import Connection
  from airflow.utils.session import create_session
  from airflow.www.views import ConnectionFormWidget, ConnectionModelView
  from tests.test_utils.www import _check_last_log, _check_last_log_masked_connection, check_content_in_response
label_desc: Use image node_id 16 for calling a global function with example usage: test_duplicate_connection(admin_client) without return types