code: def test_get_vocab(self):
      vocab_keys = list(self.get_tokenizer().get_vocab().keys())
  
      self.assertEqual(vocab_keys[0], "<pad>")
      self.assertEqual(vocab_keys[1], "</s>")
      self.assertEqual(vocab_keys[-1], "v")
      self.assertEqual(len(vocab_keys), 1_103)
  
imports: import unittest
  from transformers import PegasusTokenizer, PegasusTokenizerFast
  from transformers.testing_utils import get_tests_dir, require_sentencepiece, require_tokenizers, require_torch, slow
  from transformers.utils import cached_property
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 6 for calling the PegasusTokenizationTest obj's underlying member method code with example usage: obj.test_get_vocab() without return types