code: def test_apply_model_components_defaults():
      """Tests apply_model_components_defaults"""
      assert (
          ForecastConfigDefaults().apply_model_components_defaults(None)
          == ModelComponentsParam()
      )
      mcp = ModelComponentsParam({"growth": "growth"})
      assert (
          ForecastConfigDefaults().apply_model_components_defaults(mcp)
          == mcp
      )
      assert (
          ForecastConfigDefaults().apply_model_components_defaults(
              [mcp]
          )
          == mcp
      )
      assert ForecastConfigDefaults().apply_model_components_defaults(
          [None, mcp]
      ) == [ModelComponentsParam(), mcp]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_apply_model_components_defaults() without return types