code: def test_database_parameters_schema_mixin(
      dummy_engine: None,
      dummy_schema: "Schema",
  ) -> None:
      from superset.models.core import ConfigurationMethod
  
      payload = {
          "engine": "dummy_engine",
          "configuration_method": ConfigurationMethod.DYNAMIC_FORM,
          "parameters": {
              "username": "username",
              "password": "password",
              "host": "localhost",
              "port": 12345,
              "database": "dbname",
          },
      }
      result = dummy_schema.load(payload)
      assert result == {
          "configuration_method": ConfigurationMethod.DYNAMIC_FORM,
          "sqlalchemy_uri": "dummy+dummy://username:password@localhost:12345/dbname",
      }
  
file_path: superset/tests/unit_tests/databases/schema_tests.py
imports: from typing import TYPE_CHECKING
  import pytest
  from marshmallow import fields, Schema, ValidationError
  from pytest_mock import MockFixture
label_desc: Use image node_id 3 for calling a global function with example usage: test_database_parameters_schema_mixin(dummy_engine, dummy_schema) without return types