code: def test_getters_and_setters(self):
      conf = Configuration()
  
      conf.set_string("str", "v1")
      conf.set_integer("int", 2)
      conf.set_boolean("bool", True)
      conf.set_float("float", 0.5)
      conf.set_bytearray("bytearray", bytearray([1, 2, 3]))
  
      str_value = conf.get_string("str", "")
      int_value = conf.get_integer("int", 0)
      bool_value = conf.get_boolean("bool", False)
      float_value = conf.get_float("float", 0)
      bytearray_value = conf.get_bytearray("bytearray", bytearray())
  
      self.assertEqual(str_value, "v1")
      self.assertEqual(int_value, 2)
      self.assertEqual(bool_value, True)
      self.assertEqual(float_value, 0.5)
      self.assertEqual(bytearray_value, bytearray([1, 2, 3]))
  
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 2 for calling the ConfigurationTests obj's underlying member method code with example usage: obj.test_getters_and_setters() without return types