code: def test_plugin_create_tracker_store(
      event_broker: Optional[EventBroker],
      monkeypatch: MonkeyPatch,
  ) -> None:
      manager = plugin_manager()
      monkeypatch.setattr(
          manager.hook,
          "create_tracker_store",
          MagicMock(return_value=None),
      )
  
      endpoint_config = EndpointConfig()
      domain = Domain.empty()
  
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          TrackerStore.create(
              obj=endpoint_config,
              domain=domain,
              event_broker=event_broker,
          )
  
      manager.hook.create_tracker_store.assert_called_once_with(
          endpoint_config=endpoint_config,
          domain=domain,
          event_broker=event_broker,
      )
  
file_path: rasa/tests/test_plugin.py
imports: import warnings
  from typing import Optional, Text
  from unittest.mock import MagicMock
  import pytest
  from pluggy import PluginManager
  from pytest import MonkeyPatch
  from rasa.core.brokers.broker import EventBroker
  from rasa.core.tracker_store import TrackerStore
  from rasa.plugin import plugin_manager
  from rasa.shared.core.domain import Domain
  from rasa.utils.endpoints import EndpointConfig
label_desc: Use image node_id 2 for calling a global function with example usage: test_plugin_create_tracker_store(event_broker, monkeypatch) without return types