code: def test_get_no_permissions(self, mock_secrets_client):
      mock_client = mock.MagicMock()
      mock_secrets_client.return_value = mock_client
      mock_client.secret_version_path.return_value = "full-path"
      # No permissions for requested secret id
      mock_client.access_secret_version.side_effect = PermissionDenied(
          "test-msg"
      )
      secrets_client = _SecretManagerClient(credentials="credentials")
      secret = secrets_client.get_secret(
          secret_id="missing", project_id="project_id"
      )
      mock_client.secret_version_path.assert_called_once_with(
          "project_id", "missing", "latest"
      )
      assert secret is None
      mock_client.access_secret_version.assert_called_once_with(
          request={"name": "full-path"}
      )
  
file_path: airflow/tests/providers/google/cloud/_internal_client/test_secret_manager_client.py
imports: from __future__ import annotations
  from unittest import mock
  from google.api_core.exceptions import NotFound, PermissionDenied
  from google.cloud.secretmanager_v1.types import AccessSecretVersionResponse
  from airflow.providers.google.cloud._internal_client.secret_manager_client import _SecretManagerClient
  from airflow.providers.google.common.consts import CLIENT_INFO
label_desc: Use image node_id 3 for calling the TestSecretManagerClient obj's underlying member method code with example usage: obj.test_get_no_permissions(mock_secrets_client) without return types