code: def test_run(self, test_files_path):
      converter = MarkdownToDocument()
      sources = [test_files_path / "markdown" / "sample.md"]
      results = converter.run(sources=sources)
      docs = results["documents"]
  
      assert len(docs) == 1
      for doc in docs:
          assert "What to build with Haystack" in doc.content
          assert (
              "# git clone https://github.com/deepset-ai/haystack.git"
              in doc.content
          )
  
file_path: haystack/test/components/converters/test_markdown_to_document.py
imports: import logging
  from unittest.mock import patch
  import pytest
  from haystack.components.converters.markdown import MarkdownToDocument
  from haystack.dataclasses import ByteStream
label_desc: Use image node_id 3 for calling the TestMarkdownToDocument obj's underlying member method code with example usage: obj.test_run(test_files_path) without return types