code: def mock_get_link_text_content():
      with patch(
          "haystack.components.fetchers.link_content.requests"
      ) as mock_run:
          mock_run.get.return_value = Mock(
              status_code=200,
              text="Example test response",
              headers={"Content-Type": "text/plain"},
          )
          yield mock_run
  
file_path: haystack/test/components/fetchers/test_link_content_fetcher.py
imports: from unittest.mock import patch, Mock
  import pytest
  import requests
  from haystack.components.fetchers.link_content import LinkContentFetcher, text_content_handler, binary_content_handler, DEFAULT_USER_AGENT
label_desc: Use image node_id 1 for calling a global function with example usage: mock_get_link_text_content() without return types