code: def test_get_parameter_masking(self, mock_masker: mock.MagicMock):
      self.hook.get_parameter_value(EXISTING_PARAM_NAME)
      if self.param_type == "SecureString":
          mock_masker.assert_called_once_with(PARAM_VALUE)
      else:
          mock_masker.assert_not_called()
  
file_path: airflow/tests/providers/amazon/aws/hooks/test_ssm.py
imports: from __future__ import annotations
  from unittest import mock
  import botocore.exceptions
  import pytest
  from moto import mock_ssm
  from airflow.providers.amazon.aws.hooks.ssm import SsmHook
label_desc: Use image node_id 4 for calling the TestSsmHook obj's underlying member method code with example usage: obj.test_get_parameter_masking(mock_masker) without return types