def METHOD_NAME(self, mocked_factory):
    embedder = SentenceTransformersTextEmbedder(model_name_or_path="model")
    mocked_factory.get_embedding_backend.assert_not_called()
    embedder.warm_up()
    embedder.warm_up()
    mocked_factory.get_embedding_backend.assert_called_once()