code: def mock_default_experiment_multiple_context_providers():
      base_provider = mock.Mock()
      base_provider.in_context.return_value = True
      base_provider.get_experiment_id.return_value = "experiment_id_1"
  
      unused_provider = mock.Mock()
      unused_provider.in_context.return_value = True
      unused_provider.get_experiment_id.return_value = "experiment_id_2"
  
      providers = [base_provider, unused_provider]
  
      with mock.patch(
          "mlflow.tracking.default_experiment.registry._default_experiment_provider_registry",
          providers,
      ):
          yield
  
      unused_provider.get_experiment_id.assert_not_called()
  
file_path: mlflow/tests/tracking/default_experiment/test_registry.py
imports: from importlib import reload
  from unittest import mock
  import pytest
  import mlflow.tracking.default_experiment.registry
  from mlflow.tracking.default_experiment.databricks_notebook_experiment_provider import DatabricksNotebookExperimentProvider
  from mlflow.tracking.default_experiment.registry import DefaultExperimentProviderRegistry, get_experiment_id
label_desc: Use image node_id 9 for calling a global function with example usage: mock_default_experiment_multiple_context_providers() without return types