code: def test_create_productset_autogenerated_id_wrong_api_response(
      self, get_conn
  ):
      # Given
      response_product_set = None
      create_product_set_method = (
          get_conn.return_value.create_product_set
      )
      create_product_set_method.return_value = response_product_set
      parent = f"projects/{PROJECT_ID_TEST}/locations/{LOC_ID_TEST}"
      product_set = ProductSet()
      # When
      with pytest.raises(AirflowException) as ctx:
          self.hook.create_product_set(
              location=LOC_ID_TEST,
              product_set_id=None,
              product_set=product_set,
              project_id=PROJECT_ID_TEST,
              retry=DEFAULT,
              timeout=None,
              metadata=(),
          )
      # Then
      # API response was wrong (None) and thus ProductSet ID extraction should fail.
      err = ctx.value
      assert "Unable to get name from response..." in str(err)
      create_product_set_method.assert_called_once_with(
          parent=parent,
          product_set=product_set,
          product_set_id=None,
          retry=DEFAULT,
          timeout=None,
          metadata=(),
      )
  
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from google.api_core.gapic_v1.method import DEFAULT
  from google.cloud.vision_v1 import AnnotateImageRequest, AnnotateImageResponse, EntityAnnotation, Feature, Product, ProductSearchClient, ProductSet, ReferenceImage, SafeSearchAnnotation
  from google.protobuf.json_format import MessageToDict
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.hooks.vision import ERR_DIFF_NAMES, ERR_UNABLE_TO_CREATE, CloudVisionHook
  from airflow.providers.google.common.consts import CLIENT_INFO
  from tests.providers.google.cloud.utils.base_gcp_mock import mock_base_gcp_hook_default_project_id
label_desc: Use image node_id 6 for calling the TestGcpVisionHook obj's underlying member method code with example usage: obj.test_create_productset_autogenerated_id_wrong_api_response(get_conn) without return types