code: def test_indexing_dirs_with_embeddings(self, test_files_path):
      document_store = InMemoryDocumentStore()
      pipeline = build_indexing_pipeline(
          document_store=document_store,
          embedding_model="sentence-transformers/all-mpnet-base-v2",
      )
      file_paths = [test_files_path / "txt"]
      result = pipeline.run(files=file_paths)
      assert "documents_written" in result
      assert result["documents_written"] >= 3
  
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 3 for calling the TestIndexingPipeline obj's underlying member method code with example usage: obj.test_indexing_dirs_with_embeddings(test_files_path) without return types