code: def test_call(self):
      # Tests that all call wrap to encode_plus and batch_encode_plus
      tokenizers = self.get_tokenizers(do_lower_case=False)
      for tokenizer in tokenizers:
          with self.subTest(f"{tokenizer.__class__.__name__}"):
              # Test not batched
              words, boxes = self.get_words_and_boxes()
              encoded_sequences_1 = tokenizer.encode_plus(
                  words, boxes=boxes
              )
              encoded_sequences_2 = tokenizer(words, boxes=boxes)
              self.assertEqual(encoded_sequences_1, encoded_sequences_2)
  
              # Test not batched pairs
              (
                  question,
                  words,
                  boxes,
              ) = self.get_question_words_and_boxes()
              encoded_sequences_1 = tokenizer.encode_plus(
                  words, boxes=boxes
              )
              encoded_sequences_2 = tokenizer(words, boxes=boxes)
              self.assertEqual(encoded_sequences_1, encoded_sequences_2)
  
              # Test batched
              words, boxes = self.get_words_and_boxes_batch()
              encoded_sequences_1 = tokenizer.batch_encode_plus(
                  words, is_pair=False, boxes=boxes
              )
              encoded_sequences_2 = tokenizer(words, boxes=boxes)
              self.assertEqual(encoded_sequences_1, encoded_sequences_2)
  
imports: import inspect
  import shutil
  import tempfile
  import unittest
  from typing import List
  from transformers import AddedToken, LayoutXLMTokenizerFast, SpecialTokensMixin, is_tf_available, is_torch_available, logging
  from transformers.models.layoutxlm.tokenization_layoutxlm import LayoutXLMTokenizer
  from transformers.testing_utils import get_tests_dir, is_pt_tf_cross_test, require_pandas, require_scatter, require_sentencepiece, require_tokenizers, require_torch, slow
  from ...test_tokenization_common import SMALL_TRAINING_CORPUS, TokenizerTesterMixin, filter_non_english, merge_model_tokenizer_mappings
label_desc: Use image node_id 20 for calling the LayoutXLMTokenizationTest obj's underlying member method code with example usage: obj.test_call() without return types