code: def test_substitute_with_target_word(self):
      texts = ["The quick brown fox jumps over the lazy dog"]
      target_words = ["$", "#", "^^^"]
      aug = naw.RandomWordAug(
          action="substitute", target_words=target_words
      )
  
      for text in texts:
          augmented_data = aug.augment(text)
          augmented_text = augmented_data[0]
  
          replaced = False
          for w in target_words:
              if w in augmented_text:
                  replaced = True
                  break
          self.assertTrue(replaced)
          self.assertNotEqual(text, augmented_text)
  
file_path: nlpaug/test/augmenter/word/test_random_word.py
imports: import unittest
  import nlpaug.augmenter.word
label_desc: Use image node_id 3 for calling the TestRandom obj's underlying member method code with example usage: obj.test_substitute_with_target_word() without return types