code: def test_client_creation(
      self, mock_build_from_document, mock_build, mock_authorize
  ):
      result = self.hook.get_conn()
      mock_build.assert_called_once_with(
          "firestore", "v1", cache_discovery=False
      )
      mock_build_from_document.assert_called_once_with(
          mock_build.return_value._rootDesc,
          http=mock_authorize.return_value,
      )
      assert mock_build_from_document.return_value == result
      assert self.hook._conn == result
  
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.google.firebase.hooks.firestore import CloudFirestoreHook
  from tests.providers.google.cloud.utils.base_gcp_mock import GCP_PROJECT_ID_HOOK_UNIT_TEST, mock_base_gcp_hook_default_project_id, mock_base_gcp_hook_no_default_project_id
label_desc: Use image node_id 2 for calling the TestCloudFirestoreHookWithPassedProjectId obj's underlying member method code with example usage: obj.test_client_creation(mock_build_from_document, mock_build, mock_authorize) without return types