code: def test_pointevent_callbacks() -> None:
      plot = Plot()
      payload = dict(sx=3, sy=-2, x=10, y=100)
      for event_cls in point_events:
          test_callback = EventCallback(["sx", "sy", "x", "y"])
          plot.on_event(event_cls, test_callback)
          assert test_callback.event_name is None
          plot._trigger_event(event_cls(plot, **payload))
          assert test_callback.event_name == event_cls.event_name
          assert test_callback.payload == payload
  
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 30 for calling a global function with example usage: test_pointevent_callbacks() without return types