code: def test_run_wrong_input_format(self, mock_check_valid_model):
      embedder = HuggingFaceTEIDocumentEmbedder(
          model="BAAI/bge-small-en-v1.5",
          url="https://some_embedding_model.com",
          token="fake-api-token",
      )
  
      # wrong formats
      string_input = "text"
      list_integers_input = [1, 2, 3]
  
      with pytest.raises(
          TypeError,
          match="HuggingFaceTEIDocumentEmbedder expects a list of Documents as input",
      ):
          embedder.run(documents=string_input)
  
      with pytest.raises(
          TypeError,
          match="HuggingFaceTEIDocumentEmbedder expects a list of Documents as input",
      ):
          embedder.run(documents=list_integers_input)
  
imports: from unittest.mock import MagicMock, patch
  import numpy
  import pytest
  from huggingface_hub.utils import RepositoryNotFoundError
  from haystack.components.embedders.hugging_face_tei_document_embedder import HuggingFaceTEIDocumentEmbedder
  from haystack.dataclasses import Document
label_desc: Use image node_id 12 for calling the TestHuggingFaceTEIDocumentEmbedder obj's underlying member method code with example usage: obj.test_run_wrong_input_format(mock_check_valid_model) without return types