code: def test_identify_pii():
      example_text = "This string contains a domain, gmail.com"
      response = identify_pii(example_text, presidio_engine())
      assert isinstance(response, list)
      assert isinstance(
          response[0],
          _compat[
              "presidio_analyzer"
          ].recognizer_result.RecognizerResult,
      )
      assert len(response) == 1
      assert isinstance(response[0].entity_type, str)
      assert isinstance(response[0].start, int)
      assert isinstance(response[0].end, int)
      assert isinstance(response[0].score, float)
      assert response[0].entity_type == "DOMAIN_NAME"
  
file_path: data-describe/tests/test_detection.py
imports: import pytest
  from data_describe.compat import _compat, _is_dataframe
  from data_describe.privacy.detection import sensitive_data, SensitiveDataWidget, presidio_engine
  from data_describe.privacy.detection import identify_pii, redact_info, encrypt_text, hash_string
label_desc: Use image node_id 2 for calling a global function with example usage: test_identify_pii() without return types