class_docstr: Testing the instantiation utilities functionality that is not tested in
  main `AxClient` testing suite (`TestServiceAPI`).
class_docstr_tok: ["Testing","the","instantiation","utilities","functionality","that","is","not","tested","in","main","`","AxClient","`","testing","suite","(","`","TestServiceAPI","`",")","."]
code: def test_make_objectives(self) -> None:
      with self.assertRaisesRegex(
          ValueError, "specify 'minimize' or 'maximize'"
      ):
          InstantiationBase.make_objectives({"branin": "unknown"})
      objectives = InstantiationBase.make_objectives(
          {"branin": "minimize", "currin": "maximize"}
      )
      branin_metric = [
          o.minimize for o in objectives if o.metric.name == "branin"
      ]
      self.assertTrue(branin_metric[0])
      currin_metric = [
          o.minimize for o in objectives if o.metric.name == "currin"
      ]
      self.assertFalse(currin_metric[0])
  
file_path: Ax/ax/service/tests/test_instantiation_utils.py
imports: from typing import Any, Dict
  from ax.core.metric import Metric
  from ax.core.optimization_config import MultiObjectiveOptimizationConfig
  from ax.core.parameter import FixedParameter, ParameterType, RangeParameter
  from ax.core.search_space import HierarchicalSearchSpace
  from ax.exceptions.core import UnsupportedError
  from ax.service.utils.instantiation import InstantiationBase
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import checked_cast
label_desc: Use image node_id 5 for calling the TestInstantiationtUtils obj's underlying member method code with example usage: obj.test_make_objectives() without return types