code: def _assert_tokens_equal(expected_tokens, actual_tokens):
      for expected, actual in zip(expected_tokens, actual_tokens):
          assert expected.text == actual.text
          assert expected.text_id == actual.text_id
          assert expected.type_id == actual.type_id
  
imports: import pytest
  from allennlp.common import cached_transformers
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data import Vocabulary
  from allennlp.data.token_indexers import PretrainedTransformerIndexer
  from allennlp.data.tokenizers import PretrainedTransformerTokenizer
label_desc: Use image node_id 11 for calling the TestPretrainedTransformerIndexer obj's underlying member method code with example usage: obj._assert_tokens_equal(expected_tokens, actual_tokens) without return types