code: def test_bad_versions(self):
      deserialized, _ = revived_types.deserialize(
          saved_object_graph_pb2.SavedUserObject(
              identifier="test_type",
              version=versions_pb2.VersionDef(
                  producer=5, min_consumer=1, bad_consumers=[4, 3]
              ),
          )
      )
      self.assertEqual(2, deserialized.version)
  
file_path: tensorflow-upstream/tensorflow/python/saved_model/revived_types_test.py
imports: from tensorflow.core.framework import versions_pb2
  from tensorflow.core.protobuf import saved_object_graph_pb2
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import revived_types
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 5 for calling the RegistrationMatchingTest obj's underlying member method code with example usage: obj.test_bad_versions() without return types