code: def test_terms():
      tokenizer = Tokenizer("english")
      text = "wA wB wC wD wB wD wE"
      model = TfDocumentModel(text, tokenizer)
  
      terms = tuple(sorted(model.terms))
      assert terms == ("wa", "wb", "wc", "wd", "we")
  
file_path: sumy/tests/test_models/test_tf.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import pytest
  from sumy.models import TfDocumentModel
  from sumy.nlp.tokenizers import Tokenizer
label_desc: Use image node_id 5 for calling a global function with example usage: test_terms() without return types