code: def test_contrib_to_addons_move(self):
      small_mapping = {
          "tf.contrib.layers.poincare_normalize": "tfa.layers.PoincareNormalize",
          "tf.contrib.layers.maxout": "tfa.layers.Maxout",
          "tf.contrib.layers.group_norm": "tfa.layers.GroupNormalization",
          "tf.contrib.layers.instance_norm": "tfa.layers.InstanceNormalization",
      }
      for symbol, replacement in small_mapping.items():
          text = "{}('stuff', *args, **kwargs)".format(symbol)
          _, report, _, _ = self._upgrade(text)
          self.assertIn(replacement, report)
  
file_path: tensorflow/tensorflow/tools/compatibility/tf_upgrade_v2_safety_test.py
imports: import io
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
  from tensorflow.tools.compatibility import ast_edits
  from tensorflow.tools.compatibility import tf_upgrade_v2_safety
label_desc: Use image node_id 10 for calling the TfUpgradeV2SafetyTest obj's underlying member method code with example usage: obj.test_contrib_to_addons_move() without return types