code: def test_pdf_to_markdown(self, mock_response) -> None:
      response = mock_response.return_value
      response.content = D.PDF_CONTENT
      result = C.pdf_to_markdown(response)
      assert "Hello, this is a test!" in result
  
file_path: mindsdb/mindsdb/integrations/handlers/web_handler/tests/test_helpers.py
imports: from unittest.mock import patch
  import pytest
  from bs4 import BeautifulSoup
  from fitz.fitz import FileDataError
  from mindsdb.integrations.handlers.web_handler import urlcrawl_helpers
  from mindsdb.integrations.handlers.web_handler.tests import example_data
label_desc: Use image node_id 1 for calling the TestPDFToMarkdownTest obj's underlying member method code with example usage: obj.test_pdf_to_markdown(mock_response) without return types