code: def test_get_conn_default_configuration(
      self,
      mock_ssh_client,
      mock_paramiko,
      mock_os_login_hook,
      mock_compute_hook,
  ):
      mock_paramiko.SSHException = Exception
      mock_paramiko.RSAKey.generate.return_value.get_name.return_value = (
          "NAME"
      )
      mock_paramiko.RSAKey.generate.return_value.get_base64.return_value = (
          "AYZ"
      )
  
      mock_compute_hook.return_value.project_id = TEST_PROJECT_ID
      mock_compute_hook.return_value.get_instance_address.return_value = (
          EXTERNAL_IP
      )
  
      mock_os_login_hook.return_value._get_credentials_email.return_value = (
          "test-example@example.org"
      )
      mock_os_login_hook.return_value.import_ssh_public_key.return_value.login_profile.posix_accounts = [
          mock.MagicMock(username="test-username")
      ]
  
      hook = ComputeEngineSSHHook(
          instance_name=TEST_INSTANCE_NAME, zone=TEST_ZONE
      )
      result = hook.get_conn()
      assert mock_ssh_client.return_value == result
  
      mock_paramiko.RSAKey.generate.assert_called_once_with(2048)
      mock_compute_hook.assert_has_calls(
          [
              mock.call(gcp_conn_id="google_cloud_default"),
              mock.call().get_instance_address(
                  project_id=TEST_PROJECT_ID,
                  resource_id=TEST_INSTANCE_NAME,
                  use_internal_ip=False,
                  zone=TEST_ZONE,
              ),
          ]
      )
      mock_os_login_hook.assert_has_calls(
          [
              mock.call(gcp_conn_id="google_cloud_default"),
              mock.call()._get_credentials_email(),
              mock.call().import_ssh_public_key(
                  ssh_public_key={
                      "key": "NAME AYZ root",
                      "expiration_time_usec": mock.ANY,
                  },
                  project_id="test-project-id",
                  user=mock_os_login_hook.return_value._get_credentials_email.return_value,
              ),
          ]
      )
      mock_ssh_client.assert_has_calls(
          [
              mock.call(mock_compute_hook.return_value),
              mock.call().set_missing_host_key_policy(
                  mock_paramiko.AutoAddPolicy.return_value
              ),
              mock.call().connect(
                  hostname=EXTERNAL_IP,
                  look_for_keys=False,
                  pkey=mock_paramiko.RSAKey.generate.return_value,
                  sock=None,
                  username="test-username",
              ),
          ]
      )
  
imports: from __future__ import annotations
  import json
  import logging
  from unittest import mock
  import httplib2
  import pytest
  from googleapiclient.errors import HttpError
  from paramiko.ssh_exception import SSHException
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.google.cloud.hooks.compute_ssh import ComputeEngineSSHHook
label_desc: Use image node_id 2 for calling the TestComputeEngineHookWithPassedProjectId obj's underlying member method code with example usage: obj.test_get_conn_default_configuration(mock_ssh_client, mock_paramiko, mock_os_login_hook, mock_compute_hook) without return types