code: def example_db_provider() -> Callable[[], Database]:
      def mock_provider() -> Mock:
          mock = MagicMock()
          type(mock).backend = PropertyMock(
              return_value=BACKEND_PROPERTY_VALUE
          )
          return mock
  
      return mock_provider
  
file_path: superset/tests/conftest.py
imports: from __future__ import annotations
  from typing import Callable, TYPE_CHECKING
  from unittest.mock import MagicMock, Mock, PropertyMock
  from flask import current_app, Flask
  from flask.ctx import AppContext
  from pytest import fixture
  from superset.app import create_app
  from tests.example_data.data_loading.pandas.pandas_data_loader import PandasDataLoader
  from tests.example_data.data_loading.pandas.pands_data_loading_conf import PandasLoaderConfigurations
  from tests.example_data.data_loading.pandas.table_df_convertor import TableToDfConvertorImpl
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 1 for calling a global function with example usage: example_db_provider() and returns: mock_provider, mock