docstr: Test the initializer when json and other named parameters are both
  provided. The named parameters should override top level keys in the
  json dict.
docstr_tok: ["Test","the","initializer","when","json","and","other","named","parameters","are","both","provided",".","The","named","parameters","should","override","top","level","keys","in","the","json","dict","."]
code: def test_init_with_merging(self):
      """
      Test the initializer when json and other named parameters are both
      provided. The named parameters should override top level keys in the
      json dict.
      """
      override_new_cluster = {"workers": 999}
      json = {
          "new_cluster": NEW_CLUSTER,
          "notebook_task": NOTEBOOK_TASK,
      }
      op = DatabricksSubmitRunOperator(
          task_id=TASK_ID, json=json, new_cluster=override_new_cluster
      )
      expected = utils.normalise_json_content(
          {
              "new_cluster": override_new_cluster,
              "notebook_task": NOTEBOOK_TASK,
              "run_name": TASK_ID,
          }
      )
      assert expected == utils.normalise_json_content(op.json)
  
imports: from __future__ import annotations
  from datetime import datetime
  from unittest import mock
  from unittest.mock import MagicMock
  import pytest
  from airflow.exceptions import AirflowException, TaskDeferred
  from airflow.models import DAG
  from airflow.providers.databricks.hooks.databricks import RunState
  from airflow.providers.databricks.operators.databricks import DatabricksCreateJobsOperator, DatabricksRunNowDeferrableOperator, DatabricksRunNowOperator, DatabricksSubmitRunDeferrableOperator, DatabricksSubmitRunOperator
  from airflow.providers.databricks.triggers.databricks import DatabricksExecutionTrigger
  from airflow.providers.databricks.utils import databricks
label_desc: Use image node_id 14 for calling the TestDatabricksSubmitRunOperator obj's underlying member method code with example usage: obj.test_init_with_merging() without return types