code: def test_get_instance_without_project_id(
      self, mock_get_conn, mock_project_id
  ):
      with pytest.raises(AirflowException):
          self.hook.get_instance(
              location=TEST_LOCATION,
              instance=Instance(name=TEST_NAME),
              project_id=None,
              retry=TEST_RETRY,
              timeout=TEST_TIMEOUT,
              metadata=TEST_METADATA,
          )
  
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  from google.api_core.gapic_v1.method import DEFAULT
  from google.cloud.exceptions import NotFound
  from google.cloud.memcache_v1beta2.types import cloud_memcache
  from google.cloud.redis_v1.types import Instance
  from airflow import version
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook
  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 8 for calling the TestCloudMemorystoreWithoutDefaultProjectIdHook obj's underlying member method code with example usage: obj.test_get_instance_without_project_id(mock_get_conn, mock_project_id) without return types