code: def test_ents(self, processed_doc):
      assert len(processed_doc) == len(EXPECTED_ENTS)
      for doc, expected in zip(processed_doc, EXPECTED_ENTS):
          check_entities_equal(doc, expected)
  
file_path: stanza/stanza/tests/pipeline/test_pipeline_ner_processor.py
imports: import pytest
  import stanza
  from stanza.utils.conll import CoNLL
  from stanza.models.common.doc import Document
  from stanza.tests import *
label_desc: Use image node_id 5 for calling the TestNERProcessor obj's underlying member method code with example usage: obj.test_ents(processed_doc) without return types