code: def test_from_configuration(self):
      config = Configuration()
      config.set_string("execution.runtime-mode", "batch")
  
      actual_setting = (
          EnvironmentSettings.new_instance()
          .with_configuration(config)
          .build()
      )
      self.assertFalse(
          actual_setting.is_streaming_mode(), "Use batch mode."
      )
  
file_path: flink/flink-python/pyflink/table/tests/test_environment_settings.py
imports: from pyflink.java_gateway import get_gateway
  from pyflink.common import Configuration
  from pyflink.table import EnvironmentSettings
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 5 for calling the EnvironmentSettingsTests obj's underlying member method code with example usage: obj.test_from_configuration() without return types