code: def test_prepare_texts_to_embed_w_suffix(
      self, mock_check_valid_model
  ):
      documents = [
          Document(content=f"document number {i}") for i in range(5)
      ]
  
      embedder = HuggingFaceTEIDocumentEmbedder(
          model="sentence-transformers/all-mpnet-base-v2",
          url="https://some_embedding_model.com",
          token="fake-api-token",
          prefix="my_prefix ",
          suffix=" my_suffix",
      )
  
      prepared_texts = embedder._prepare_texts_to_embed(documents)
  
      assert prepared_texts == [
          "my_prefix document number 0 my_suffix",
          "my_prefix document number 1 my_suffix",
          "my_prefix document number 2 my_suffix",
          "my_prefix document number 3 my_suffix",
          "my_prefix document number 4 my_suffix",
      ]
  
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 8 for calling the TestHuggingFaceTEIDocumentEmbedder obj's underlying member method code with example usage: obj.test_prepare_texts_to_embed_w_suffix(mock_check_valid_model) without return types