code: def test_run_wrong_input_format(self):
      embedder = SentenceTransformersTextEmbedder(model="model")
      embedder.embedding_backend = MagicMock()
  
      list_integers_input = [1, 2, 3]
  
      with pytest.raises(
          TypeError,
          match="SentenceTransformersTextEmbedder expects a string as input",
      ):
          embedder.run(text=list_integers_input)
  
file_path: haystack/test/components/embedders/test_sentence_transformers_text_embedder.py
imports: from unittest.mock import patch, MagicMock
  import pytest
  import numpy
  from haystack.components.embedders.sentence_transformers_text_embedder import SentenceTransformersTextEmbedder
label_desc: Use image node_id 9 for calling the TestSentenceTransformersTextEmbedder obj's underlying member method code with example usage: obj.test_run_wrong_input_format() without return types