code: def setUp(self):
      super(SubwordTextEncoderTest, self).setUp()
      # Vocab ids will be (offset for pad=0):
      #                  1       2       3      4      5
      self.vocab_list = ["foo_", "bar_", "foo", "bar", "<EOS>"]
      self.encoder = subword_text_encoder.SubwordTextEncoder(
          vocab_list=self.vocab_list
      )
  
imports: from __future__ import unicode_literals
  import os
  from absl.testing import parameterized
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.deprecated.text import subword_text_encoder
  from tensorflow_datasets.core.deprecated.text import text_encoder
label_desc: Use image node_id 1 for calling the SubwordTextEncoderTest obj's underlying member method code with example usage: obj.setUp() without return types