code: def test_serialize_custom_class_with_default_name(self):
      @object_registration.register_keras_serializable()
      class TestClass:
          def __init__(self, value):
              self._value = value
  
          def get_config(self):
              return {"value": self._value}
  
          @classmethod
          def from_config(cls, config):
              return cls(**config)
  
      serialized_name = "Custom>TestClass"
      inst = TestClass(value=10)
      class_name = object_registration.GLOBAL_CUSTOM_NAMES[TestClass]
      self.assertEqual(serialized_name, class_name)
  
      config = serialization_lib.serialize_keras_object(inst)
      self.assertEqual("TestClass", config["class_name"])
      new_inst = serialization_lib.deserialize_keras_object(config)
      self.assertIsNot(inst, new_inst)
      self.assertIsInstance(new_inst, TestClass)
      self.assertEqual(10, new_inst._value)
  
file_path: keras/keras/saving/object_registration_test.py
imports: import keras
  from keras import testing
  from keras.saving import object_registration
  from keras.saving import serialization_lib
label_desc: Use image node_id 2 for calling the TestObjectRegistration obj's underlying member method code with example usage: obj.test_serialize_custom_class_with_default_name() and returns: dict, cls