code: def test_simple_object():
      config = SecurityConfig(
          "/path/to/cert.pem", "/path/to/key.pem"
      ).build()
      assert config["cert_file"] == "/path/to/cert.pem"
      assert config["key_file"] == "/path/to/key.pem"
  
      config = AppFileConfig(source="/path/to/file").build()
      assert config == "/path/to/file"
      config = AppFileConfig(
          source="/path/to/file", file_type="archive"
      ).build()
      assert config["source"] == "/path/to/file"
      assert config["type"] == "archive"
  
      config = AppMasterConfig(
          security=SecurityConfig(
              "/path/to/cert.pem", "/path/to/key.pem"
          ),
          cpu=1,
          memory="512 MiB",
      ).build()
      assert config["security"]["cert_file"] == "/path/to/cert.pem"
      assert config["security"]["key_file"] == "/path/to/key.pem"
      assert config["resources"]["vcores"] == 1
  
imports: import os
  from ....None import __file__
  from ..config import SecurityConfig, AppFileConfig, AppMasterConfig, MarsApplicationConfig, MarsSupervisorConfig, MarsWorkerConfig
label_desc: Use image node_id 1 for calling a global function with example usage: test_simple_object() without return types