code: def test_get_secret_including_metadata_v2(self, mock_hvac):
      mock_client = mock.MagicMock()
      mock_hvac.Client.return_value = mock_client
  
      mock_client.secrets.kv.v2.read_secret_version.return_value = {
          "request_id": "94011e25-f8dc-ec29-221b-1f9c1d9ad2ae",
          "lease_id": "",
          "renewable": False,
          "lease_duration": 0,
          "data": {
              "data": {"secret_key": "secret_value"},
              "metadata": {
                  "created_time": "2020-03-16T21:01:43.331126Z",
                  "deletion_time": "",
                  "destroyed": False,
                  "version": 1,
              },
          },
          "wrap_info": None,
          "warnings": None,
          "auth": None,
      }
      vault_client = _VaultClient(
          auth_type="radius",
          radius_host="radhost",
          radius_port=8110,
          radius_secret="pass",
          url="http://localhost:8180",
      )
      metadata = vault_client.get_secret_including_metadata(
          secret_path="missing"
      )
      assert {
          "request_id": "94011e25-f8dc-ec29-221b-1f9c1d9ad2ae",
          "lease_id": "",
          "renewable": False,
          "lease_duration": 0,
          "data": {
              "data": {"secret_key": "secret_value"},
              "metadata": {
                  "created_time": "2020-03-16T21:01:43.331126Z",
                  "deletion_time": "",
                  "destroyed": False,
                  "version": 1,
              },
          },
          "wrap_info": None,
          "warnings": None,
          "auth": None,
      } == metadata
      mock_client.secrets.kv.v2.read_secret_version.assert_called_once_with(
          mount_point="secret",
          path="missing",
          version=None,
          raise_on_deleted_version=True,
      )
  
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import mock_open, patch
  import pytest
  from hvac.exceptions import InvalidPath, VaultError
  from requests import Session
  from requests.adapters import HTTPAdapter
  from urllib3.util import Retry
  from airflow.providers.hashicorp._internal_client.vault_client import _VaultClient
label_desc: Use image node_id 51 for calling the TestVaultClient obj's underlying member method code with example usage: obj.test_get_secret_including_metadata_v2(mock_hvac) without return types