code: def test_to_config(self):
      mod = LayerAdapter(ModuleWithLayer())
      with self.assertRaises(NotImplementedError):
          mod.to_config()
  
imports: from absl.testing import parameterized
  import sonnet
  from sonnet.src import test_utils
  from sonnet.src.conformance import descriptors
  import tensorflow
  import tree
label_desc: Use image node_id 8 for calling the KerasTest obj's underlying member method code with example usage: obj.test_to_config() without return types