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_parameter_type_validation(self) -> None:
      with self.assertRaisesRegex(ValueError, "No AE parameter type"):
          # pyre-fixme[6]: For 1st param expected `Union[Type[bool], Type[float],
          #  Type[int], Type[str]]` but got `Type[list]`.
          InstantiationBase._get_parameter_type(list)
  
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 1 for calling the TestInstantiationtUtils obj's underlying member method code with example usage: obj.test_parameter_type_validation() without return types