code: def test_summary_dict(self) -> None:
      self.assertDictEqual(
          self.param1.summary_dict,
          {
              "name": "x",
              "type": "Choice",
              "domain": "values=['foo', 'bar', 'baz']",
              "parameter_type": "string",
              "flags": "unordered, unsorted",
          },
      )
      self.assertDictEqual(
          self.param2.summary_dict,
          {
              "name": "x",
              "type": "Choice",
              "domain": "values=['foo', 'bar', 'baz']",
              "parameter_type": "string",
              "flags": "ordered, task, unsorted",
              "target_value": "baz",
          },
      )
      self.assertDictEqual(
          self.param3.summary_dict,
          {
              "name": "x",
              "type": "Choice",
              "domain": "values=['foo', 'bar']",
              "parameter_type": "string",
              "flags": "fidelity, unordered, unsorted",
              "target_value": "bar",
          },
      )
      self.assertDictEqual(
          self.param4.summary_dict,
          {
              "name": "x",
              "type": "Choice",
              "domain": "values=[1, 2]",
              "parameter_type": "int",
              "flags": "ordered, sorted",
          },
      )
  
imports: from ax.core.parameter import _get_parameter_type, ChoiceParameter, EPS, FixedParameter, ParameterType, RangeParameter
  from ax.exceptions.core import UserInputError
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 15 for calling the ChoiceParameterTest obj's underlying member method code with example usage: obj.test_summary_dict() without return types