code: def test_to_dict(self, mock_check_valid_model):
      component = HuggingFaceTEIDocumentEmbedder()
      data = component.to_dict()
  
      assert data == {
          "type": "haystack.components.embedders.hugging_face_tei_document_embedder.HuggingFaceTEIDocumentEmbedder",
          "init_parameters": {
              "model": "BAAI/bge-small-en-v1.5",
              "url": None,
              "prefix": "",
              "suffix": "",
              "batch_size": 32,
              "progress_bar": True,
              "meta_fields_to_embed": [],
              "embedding_separator": "\n",
          },
      }
  
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 5 for calling the TestHuggingFaceTEIDocumentEmbedder obj's underlying member method code with example usage: obj.test_to_dict(mock_check_valid_model) without return types