code: def test_delegate_to_runtime_error(self):
      with pytest.raises(RuntimeError):
          SecretsManagerHook(
              gcp_conn_id="GCP_CONN_ID", delegate_to="delegate_to"
          )
  
file_path: airflow/tests/providers/google/cloud/hooks/test_secret_manager.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  from google.api_core.exceptions import NotFound
  from google.cloud.secretmanager_v1.types.service import AccessSecretVersionResponse
  from airflow.providers.google.cloud.hooks.secret_manager import SecretsManagerHook
  from tests.providers.google.cloud.utils.base_gcp_mock import GCP_PROJECT_ID_HOOK_UNIT_TEST, mock_base_gcp_hook_default_project_id
label_desc: Use image node_id 1 for calling the TestSecretsManagerHook obj's underlying member method code with example usage: obj.test_delegate_to_runtime_error() without return types