code: def _assert_generated_batch_equal_expected(self, **tokenizer_kwargs):
      generated_words = self.translate_src_text(**tokenizer_kwargs)
      self.assertListEqual(self.expected_text, generated_words)
  
imports: from __future__ import annotations
  import unittest
  import warnings
  from transformers import AutoTokenizer, MarianConfig, MarianTokenizer, TranslationPipeline, is_tf_available
  from transformers.testing_utils import require_sentencepiece, require_tf, require_tokenizers, slow
  from transformers.utils import cached_property
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_tf_common import TFModelTesterMixin, ids_tensor
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 5 for calling the AbstractMarianIntegrationTest obj's underlying member method code with example usage: obj._assert_generated_batch_equal_expected() without return types