code: def test_atomic_plot_event_callbacks() -> None:
      plot = Plot()
      for event_cls in [events.LODStart, events.LODEnd]:
          test_callback = EventCallback()
          plot.on_event(event_cls, test_callback)
          assert test_callback.event_name is None
          plot._trigger_event(event_cls(plot))
          assert test_callback.event_name == event_cls.event_name
  
imports: from __future__ import annotations
  import pytest
  from bokeh.core.serialization import Deserializer
  from bokeh.models import Button, Div, Plot, TextInput
  from bokeh import events
label_desc: Use image node_id 29 for calling a global function with example usage: test_atomic_plot_event_callbacks() without return types