code: def test_tokenizer_translation(self):
      inputs = self.tokenizer._build_translation_inputs(
          "A test",
          return_tensors="pt",
          src_lang="en_XX",
          tgt_lang="ar_AR",
      )
  
      self.assertEqual(
          nested_simplify(inputs),
          {
              # en_XX, A, test, EOS
              "input_ids": [[250004, 62, 3034, 2]],
              "attention_mask": [[1, 1, 1, 1]],
              # ar_AR
              "forced_bos_token_id": 250001,
          },
      )
  
imports: import shutil
  import tempfile
  import unittest
  from transformers import SPIECE_UNDERLINE, BatchEncoding, MBart50Tokenizer, MBart50TokenizerFast, is_torch_available
  from transformers.testing_utils import get_tests_dir, nested_simplify, require_sentencepiece, require_tokenizers, require_torch, slow
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 11 for calling the MBart50OneToManyIntegrationTest obj's underlying member method code with example usage: obj.test_tokenizer_translation() without return types