code: def testMapboxSelection1DCallbackEventData(self):
      selected_data1 = {
          "points": [
              {"pointNumber": 0, "curveNumber": 1},
              {"pointNumber": 2, "curveNumber": 1},
          ]
      }
  
      event_data = (
          Selection1DCallback.get_event_data_from_property_update(
              "selected_data", selected_data1, self.mapbox_fig_dict
          )
      )
  
      self.assertEqual(
          event_data,
          {
              "first": {"index": []},
              "second": {"index": [0, 2]},
              "third": {"index": []},
          },
      )
  
imports: import uuid
  from unittest import TestCase
  from unittest.mock import Mock
  import plotly.graph_objs
  from holoviews import Tiles
  from holoviews.plotting.plotly.callbacks import BoundsXCallback, BoundsXYCallback, BoundsYCallback, RangeXCallback, RangeXYCallback, RangeYCallback, Selection1DCallback
  from holoviews.streams import BoundsX, BoundsXY, BoundsY, RangeX, RangeXY, RangeY, Selection1D
label_desc: Use image node_id 18 for calling the TestCallbacks obj's underlying member method code with example usage: obj.testMapboxSelection1DCallbackEventData() without return types