code: def test_get_connection_update_hook_with_invalid_token(
      self, mock_request
  ):
      self.gke_hook._get_config = self._get_config
      self.gke_hook.get_credentials = self._get_credentials
      self.gke_hook.get_credentials().expired = True
      the_client: kubernetes.client.ApiClient = self.gke_hook.get_conn()
  
      the_client.configuration.refresh_api_key_hook(
          the_client.configuration
      )
  
      assert self.gke_hook.get_credentials().token == "New"
  
imports: from __future__ import annotations
  from asyncio import Future
  from unittest import mock
  import kubernetes.client
  import pytest
  from google.cloud.container_v1 import ClusterManagerAsyncClient
  from google.cloud.container_v1.types import Cluster
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.hooks.kubernetes_engine import GKEAsyncHook, GKEHook, GKEPodAsyncHook, GKEPodHook
  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 2 for calling the TestGKEPodHook obj's underlying member method code with example usage: obj.test_get_connection_update_hook_with_invalid_token(mock_request) without return types