code: def test_get_set_execution_mode(self):
      self.execution_config.set_execution_mode(ExecutionMode.BATCH)
  
      self.assertEqual(
          self.execution_config.get_execution_mode(),
          ExecutionMode.BATCH,
      )
  
      self.execution_config.set_execution_mode(ExecutionMode.PIPELINED)
  
      self.assertEqual(
          self.execution_config.get_execution_mode(),
          ExecutionMode.PIPELINED,
      )
  
      self.execution_config.set_execution_mode(
          ExecutionMode.BATCH_FORCED
      )
  
      self.assertEqual(
          self.execution_config.get_execution_mode(),
          ExecutionMode.BATCH_FORCED,
      )
  
      self.execution_config.set_execution_mode(
          ExecutionMode.PIPELINED_FORCED
      )
  
      self.assertEqual(
          self.execution_config.get_execution_mode(),
          ExecutionMode.PIPELINED_FORCED,
      )
  
imports: from pyflink.datastream import StreamExecutionEnvironment
  from pyflink.common import ExecutionConfig, RestartStrategies, ExecutionMode, Configuration
  from pyflink.java_gateway import get_gateway
  from pyflink.testing.test_case_utils import PyFlinkTestCase
  from pyflink.util.java_utils import get_j_env_configuration
label_desc: Use image node_id 10 for calling the ExecutionConfigTests obj's underlying member method code with example usage: obj.test_get_set_execution_mode() without return types