code: def setUp(self) -> None:
      self.minimize_metric = Metric(name="bar", lower_is_better=True)
      self.maximize_metric = Metric(name="baz", lower_is_better=False)
      self.bound = 0
      simple_metric = Metric(name="foo")
      self.constraint = OutcomeConstraint(
          metric=simple_metric, op=ComparisonOp.GEQ, bound=self.bound
      )
  
imports: from unittest import mock
  from ax.core.metric import Metric
  from ax.core.outcome_constraint import CONSTRAINT_WARNING_MESSAGE, LOWER_BOUND_MISMATCH, ObjectiveThreshold, OutcomeConstraint, ScalarizedOutcomeConstraint, UPPER_BOUND_MISMATCH
  from ax.core.types import ComparisonOp
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 1 for calling the OutcomeConstraintTest obj's underlying member method code with example usage: obj.setUp() without return types