code: def setUp(self):
      super(MetricsTest, self).setUp()
      self.test_label = tf.keras.layers.Conv2D(1, 1).__class__.__name__
      for label in [
          self.test_label,
          metrics.MonitorBoolGauge._SUCCESS_LABEL,
          metrics.MonitorBoolGauge._FAILURE_LABEL,
      ]:
          MetricsTest.gauge.get_cell(label).set(False)
  
      with mock.patch.object(
          metrics.MonitorBoolGauge,
          "get_usage_gauge",
          return_value=MetricsTest.gauge,
      ):
          self.monitor = metrics.MonitorBoolGauge("testing")
  
file_path: model-optimization/tensorflow_model_optimization/python/core/keras/metrics_test.py
imports: import mock
  import tensorflow
  from tensorflow.python.eager import monitoring
  from tensorflow_model_optimization.python.core.keras import metrics
label_desc: Use image node_id 1 for calling the MetricsTest obj's underlying member method code with example usage: obj.setUp() without return types