code: def test_AbstractCurveMetric(self) -> None:
      self.assertTrue(AbstractCurveMetric.is_available_while_running())
      with self.assertRaises(TypeError):
          # pyre-fixme[45]: Cannot instantiate abstract class `AbstractCurveMetric`.
          AbstractCurveMetric("foo", "bar")
  
imports: from ax.metrics.curve import AbstractCurveMetric
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 1 for calling the AbstractCurveMetricTest obj's underlying member method code with example usage: obj.test_AbstractCurveMetric() without return types