code: def test_get_parameter_values(self) -> None:
      parameter_values = _get_parameter_values(
          self.search_space, ["x", "y", "z"]
      )
      self.assertEqual(
          parameter_values, [[0.0, 1.0], ["foo", "bar"], [True]]
      )
      # pyre-fixme[6]: For 1st param expected `List[Parameter]` but got
      #  `List[Union[ChoiceParameter, FixedParameter]]`.
      search_space = SearchSpace(self.parameters)
      search_space._parameters["x"] = RangeParameter(
          "x", ParameterType.FLOAT, 0.1, 0.4
      )
      with self.assertRaises(ValueError):
          _get_parameter_values(search_space, ["x", "y", "z"])
  
imports: from unittest import mock
  from unittest.mock import Mock
  import numpy
  from ax.core.metric import Metric
  from ax.core.objective import Objective
  from ax.core.observation import Observation, ObservationData, ObservationFeatures
  from ax.core.optimization_config import OptimizationConfig
  from ax.core.outcome_constraint import ComparisonOp, OutcomeConstraint
  from ax.core.parameter import ChoiceParameter, FixedParameter, ParameterType, RangeParameter
  from ax.core.search_space import SearchSpace
  from ax.exceptions.core import UserInputError
  from ax.modelbridge.discrete import _get_parameter_values, DiscreteModelBridge
  from ax.models.discrete_base import DiscreteModel
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 6 for calling the DiscreteModelBridgeTest obj's underlying member method code with example usage: obj.test_get_parameter_values() without return types