def METHOD_NAME(self):
    self.embedding = TokenEmbedding(**self.config)
    vocab_list = get_vocab_list(self.config["extended_vocab_path"])
    word_a, word_b, vec_a, vec_b = self.get_random_word_vec(vocab_list)
    result = self.embedding.cosine_sim(word_a, word_b)
    expected_result = self.get_cosine(vec_a, vec_b)
    self.check_output_equal(result, expected_result)