code: def mock_docs():
      return [
          Document(
              content="Javascript is a popular programming language"
          ),
          Document(content="Java is a popular programming language"),
          Document(content="Python is a popular programming language"),
          Document(content="Ruby is a popular programming language"),
          Document(content="PHP is a popular programming language"),
      ]
  
imports: from typing import Dict, Any
  import pytest
  from haystack import Pipeline, DeserializationError
  from haystack.testing.factory import document_store_class
  from haystack.components.retrievers.in_memory import InMemoryBM25Retriever
  from haystack.dataclasses import Document
  from haystack.document_stores.in_memory import InMemoryDocumentStore
label_desc: Use image node_id 1 for calling a global function with example usage: mock_docs() and returns: list