code: def test_indexing_multiple_file_types(self, test_files_path):
      document_store = InMemoryDocumentStore()
      pipeline = build_indexing_pipeline(
          document_store=document_store,
          supported_mime_types=["text/plain", "application/pdf"],
      )
      file_paths = [
          test_files_path / "txt" / "doc_1.txt",
          test_files_path / "txt" / "doc_2.txt",
          test_files_path / "pdf" / "sample_pdf_1.pdf",
      ]
      result = pipeline.run(files=file_paths)
      # pdf gets split into 2 documents
      assert result == {"documents_written": 4}
  
file_path: haystack/test/pipelines/test_indexing_pipeline.py
imports: import os
  import pytest
  from haystack.pipeline_utils.indexing import build_indexing_pipeline
  from haystack.document_stores.in_memory import InMemoryDocumentStore
label_desc: Use image node_id 4 for calling the TestIndexingPipeline obj's underlying member method code with example usage: obj.test_indexing_multiple_file_types(test_files_path) without return types