def METHOD_NAME(self, args):
    embeddings = self.create_embedding_with_args(args)
    sentence: Sentence = Sentence("I love Berlin")
    embeddings.embed(sentence)
    names = embeddings.get_names()
    if self.is_token_embedding:
        for token in sentence:
            assert len(token.get_embedding(names)) == embeddings.embedding_length
    if self.is_document_embedding:
        assert len(sentence.get_embedding(names)) == embeddings.embedding_length