def METHOD_NAME(self):
    embeddings = self.create_embedding_with_args(self.default_args)
    sentence_old: Sentence = Sentence("I love Berlin")
    embeddings.embed(sentence_old)
    names_old = embeddings.get_names()
    embedding_length_old = embeddings.embedding_length
    save_data = embeddings.save_embeddings(use_state_dict=True)
    new_embeddings = load_embeddings(save_data)
    sentence_new: Sentence = Sentence("I love Berlin")
    new_embeddings.embed(sentence_new)
    names_new = new_embeddings.get_names()
    embedding_length_new = new_embeddings.embedding_length
    assert not new_embeddings.training
    assert names_old == names_new
    assert embedding_length_old == embedding_length_new
    if self.is_token_embedding:
        for token_old, token_new in zip(sentence_old, sentence_new):
            assert (token_old.get_embedding(names_old) == token_new.get_embedding(names_new)).all()
    if self.is_document_embedding:
        assert (sentence_old.get_embedding(names_old) == sentence_new.get_embedding(names_new)).all()