code: def test_model_initialization(mock_sentence_transformer):
      _SentenceTransformersEmbeddingBackendFactory.get_embedding_backend(
          model="model", device="cpu", use_auth_token="my_token"
      )
      mock_sentence_transformer.assert_called_once_with(
          model_name_or_path="model",
          device="cpu",
          use_auth_token="my_token",
      )
  
imports: from unittest.mock import patch
  import pytest
  from haystack.components.embedders.backends.sentence_transformers_backend import _SentenceTransformersEmbeddingBackendFactory
label_desc: Use image node_id 2 for calling a global function with example usage: test_model_initialization(mock_sentence_transformer) without return types