code: def setUp(self) -> None:
      self.experiment = get_experiment()
      self.arm = Arm({"x": 5, "y": "foo", "z": True, "w": 5})
      self.trial = self.experiment.new_trial(GeneratorRun([self.arm]))
      self.experiment_2 = get_experiment()
      self.batch_trial = self.experiment_2.new_batch_trial(
          GeneratorRun([self.arm])
      )
      self.batch_trial.set_status_quo_with_weight(
          self.experiment_2.status_quo, 1
      )
      self.obs_feat = ObservationFeatures.from_arm(
          arm=self.trial.arm, trial_index=self.trial.index
      )
      self.hss_exp = get_hierarchical_search_space_experiment()
      self.hss_sobol = Models.SOBOL(
          search_space=self.hss_exp.search_space
      )
      self.hss_gr = self.hss_sobol.gen(n=1)
      self.hss_trial = self.hss_exp.new_trial(self.hss_gr)
      self.hss_arm = not_none(self.hss_trial.arm)
      self.hss_cand_metadata = self.hss_trial._get_candidate_metadata(
          arm_name=self.hss_arm.name
      )
      self.hss_full_parameterization = self.hss_cand_metadata.get(
          Keys.FULL_PARAMETERIZATION
      ).copy()
      self.assertTrue(
          all(
              p_name in self.hss_full_parameterization
              for p_name in self.hss_exp.search_space.parameters
          )
      )
      self.hss_obs_feat = ObservationFeatures.from_arm(
          arm=self.hss_arm,
          trial_index=self.hss_trial.index,
          metadata=self.hss_cand_metadata,
      )
      self.hss_obs_feat_all_params = ObservationFeatures.from_arm(
          arm=Arm(self.hss_full_parameterization),
          trial_index=self.hss_trial.index,
          metadata={
              Keys.FULL_PARAMETERIZATION: self.hss_full_parameterization
          },
      )
  
imports: from unittest import mock
  from unittest.mock import patch
  import numpy
  from ax.core.arm import Arm
  from ax.core.data import Data
  from ax.core.generator_run import GeneratorRun
  from ax.core.metric import Metric
  from ax.core.objective import MultiObjective, Objective
  from ax.core.observation import ObservationData, ObservationFeatures
  from ax.core.optimization_config import MultiObjectiveOptimizationConfig
  from ax.core.outcome_constraint import ObjectiveThreshold, OutcomeConstraint, ScalarizedOutcomeConstraint
  from ax.core.types import ComparisonOp
  from ax.core.utils import get_pending_observation_features
  from ax.modelbridge.modelbridge_utils import extract_objective_thresholds, extract_outcome_constraints, feasible_hypervolume, observation_data_to_array, pending_observations_as_array_list
  from ax.modelbridge.registry import Models
  from ax.utils.common.constants import Keys
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import not_none
  from ax.utils.testing.core_stubs import get_experiment, get_hierarchical_search_space_experiment
  from pyre_extensions import none_throws
label_desc: Use image node_id 1 for calling the TestModelbridgeUtils obj's underlying member method code with example usage: obj.setUp() without return types