code: def test_callback_on_update(self):
      fn_range = MagicMock()
      self.figure.layout.on_change(
          fn_range, "xaxis.range", "yaxis.range"
      )
  
      self.figure.update({"layout": {"yaxis": {"range": [11, 22]}}})
      fn_range.assert_called_once_with(
          self.figure.layout, (-1, 4), (11, 22)
      )
  
imports: import sys
  from unittest import TestCase
  import pytest
  import plotly.graph_objs
label_desc: Use image node_id 11 for calling the TestOnChangeCallbacks obj's underlying member method code with example usage: obj.test_callback_on_update() without return types