code: def test_to_dict(self, mock_check_valid_model):
      component = HuggingFaceTEITextEmbedder()
      data = component.to_dict()
  
      assert data == {
          "type": "haystack.components.embedders.hugging_face_tei_text_embedder.HuggingFaceTEITextEmbedder",
          "init_parameters": {
              "model": "BAAI/bge-small-en-v1.5",
              "url": None,
              "prefix": "",
              "suffix": "",
          },
      }
  
file_path: haystack/test/components/embedders/test_hugging_face_tei_text_embedder.py
imports: from unittest.mock import MagicMock, patch
  import numpy
  import pytest
  from huggingface_hub.utils import RepositoryNotFoundError
  from haystack.components.embedders.hugging_face_tei_text_embedder import HuggingFaceTEITextEmbedder
label_desc: Use image node_id 5 for calling the TestHuggingFaceTEITextEmbedder obj's underlying member method code with example usage: obj.test_to_dict(mock_check_valid_model) without return types