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_add_tracking_metrics(self) -> None:
      experiment = InstantiationBase.make_experiment(
          parameters=[{"name": "x", "type": "range", "bounds": [0, 1]}],
          tracking_metric_names=None,
      )
      self.assertDictEqual(experiment._tracking_metrics, {})
  
      metrics_names = ["metric_1", "metric_2"]
      experiment = InstantiationBase.make_experiment(
          parameters=[{"name": "x", "type": "range", "bounds": [0, 1]}],
          tracking_metric_names=metrics_names,
      )
      self.assertDictEqual(
          experiment._tracking_metrics,
          {
              metric_name: Metric(name=metric_name)
              for metric_name in metrics_names
          },
      )
  
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 4 for calling the TestInstantiationtUtils obj's underlying member method code with example usage: obj.test_add_tracking_metrics() without return types