code: def test_oov(self):
      encoder = text_encoder.TokenTextEncoder(
          vocab_list=["hi", "bye", ZH_HELLO],
          oov_buckets=1,
          oov_token="UNK",
      )
      ids = [i + 1 for i in [0, 3, 3, 1]]
      self.assertEqual(ids, encoder.encode("hi boo foo bye"))
      self.assertEqual("hi UNK UNK bye", encoder.decode(ids))
      self.assertEqual(5, encoder.vocab_size)
  
imports: from __future__ import unicode_literals
  import os
  from absl.testing import parameterized
  import numpy
  from tensorflow_datasets import testing
  from tensorflow_datasets.core.deprecated.text import text_encoder
label_desc: Use image node_id 2 for calling the TokenTextEncoderTest obj's underlying member method code with example usage: obj.test_oov() without return types