code: def test_single_document(self):
      with pytest.raises(
          TypeError,
          match="DocumentCleaner expects a List of Documents as input.",
      ):
          cleaner = DocumentCleaner()
          cleaner.run(documents=Document())
  
file_path: haystack/test/components/preprocessors/test_document_cleaner.py
imports: import logging
  import pytest
  from haystack import Document
  from haystack.components.preprocessors import DocumentCleaner
label_desc: Use image node_id 3 for calling the TestDocumentCleaner obj's underlying member method code with example usage: obj.test_single_document() without return types