code: def test_list_image_versions(self, mock_client) -> None:
      self.hook.list_image_versions(
          project_id=TEST_GCP_PROJECT,
          region=TEST_GCP_REGION,
          retry=TEST_RETRY,
          timeout=TEST_TIMEOUT,
          metadata=TEST_METADATA,
      )
      mock_client.assert_called_once()
      mock_client.return_value.list_image_versions.assert_called_once_with(
          request={
              "parent": self.hook.get_parent(
                  TEST_GCP_PROJECT, TEST_GCP_REGION
              ),
              "page_size": None,
              "page_token": None,
              "include_past_releases": False,
          },
          retry=TEST_RETRY,
          timeout=TEST_TIMEOUT,
          metadata=TEST_METADATA,
      )
  
file_path: airflow/tests/providers/google/cloud/hooks/test_cloud_composer.py
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import AsyncMock
  import pytest
  from google.api_core.gapic_v1.method import DEFAULT
  from google.cloud.orchestration.airflow.service_v1 import EnvironmentsAsyncClient
  from airflow.providers.google.cloud.hooks.cloud_composer import CloudComposerAsyncHook, CloudComposerHook
label_desc: Use image node_id 8 for calling the TestCloudComposerHook obj's underlying member method code with example usage: obj.test_list_image_versions(mock_client) without return types