code: def testSelection1DCallback(self):
      plots, streamss, callbacks, sel_events = build_callback_set(
          Selection1DCallback,
          ["first", "second", "third", "forth", "other"],
          Selection1D,
          2,
      )
  
      # Select points from the 'first' plot (first set of axes)
      selected_data1 = {
          "points": [
              {"pointNumber": 0, "curveNumber": 0},
              {"pointNumber": 2, "curveNumber": 0},
          ]
      }
      Selection1DCallback.update_streams_from_property_update(
          "selected_data", selected_data1, self.fig_dict
      )
  
      # Check that all streams attached to the 'first' plots were triggered
      for stream, events in zip(streamss[0], sel_events[0]):
          assert stream.index == [0, 2]
          assert len(events) == 1
  
      # Check that all streams attached to other plots in this figure were triggered
      # with empty selection
      for stream in streamss[1] + streamss[2] + streamss[3]:
          assert stream.index == []
  
      # Select points from the 'first' and 'second' plot (first set of axes)
      selected_data1 = {
          "points": [
              {"pointNumber": 0, "curveNumber": 0},
              {"pointNumber": 1, "curveNumber": 0},
              {"pointNumber": 1, "curveNumber": 1},
              {"pointNumber": 2, "curveNumber": 1},
          ]
      }
      Selection1DCallback.update_streams_from_property_update(
          "selected_data", selected_data1, self.fig_dict
      )
  
      # Check that all streams attached to the 'first' plot were triggered
      for stream in streamss[0]:
          assert stream.index == [0, 1]
  
      # Check that all streams attached to the 'second' plot were triggered
      for stream in streamss[1]:
          assert stream.index == [1, 2]
  
      # Check that all streams attached to other plots in this figure were triggered
      # with empty selection
      for stream in streamss[2] + streamss[3]:
          assert stream.index == []
  
      # Select points from the 'forth' plot (third set of axes)
      selected_data1 = {
          "points": [
              {"pointNumber": 0, "curveNumber": 3},
              {"pointNumber": 2, "curveNumber": 3},
          ]
      }
      Selection1DCallback.update_streams_from_property_update(
          "selected_data", selected_data1, self.fig_dict
      )
  
      # Check that all streams attached to the 'forth' plot were triggered
      for stream, _events in zip(streamss[3], sel_events[3]):
          assert stream.index == [0, 2]
  
      # Check that streams attached to plots not in this figure are not called
      for _stream, events in zip(streamss[4], sel_events[4]):
          assert len(events) == 0
  
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 19 for calling the TestCallbacks obj's underlying member method code with example usage: obj.testSelection1DCallback() without return types