code: def test_to_dict(self):
      conf = Configuration()
      conf.set_string("k1", "v1")
      conf.set_integer("k2", 1)
      conf.set_float("k3", 1.2)
      conf.set_boolean("k4", True)
  
      target_dict = conf.to_dict()
  
      self.assertEqual(
          target_dict,
          {"k1": "v1", "k2": "1", "k3": "1.2", "k4": "true"},
      )
  
file_path: flink/flink-python/pyflink/common/tests/test_configuration.py
imports: from copy import deepcopy
  from pyflink.common import Configuration
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 8 for calling the ConfigurationTests obj's underlying member method code with example usage: obj.test_to_dict() without return types