code: def test_recreate_from_savestate():
      from pyqtgraph.examples import _buildParamTypes
  
      created = _buildParamTypes.makeAllParamTypes()
      state = created.saveState()
      created2 = pt.Parameter.create(**state)
      assert pg.eq(state, created2.saveState())
  
file_path: pyqtgraph/tests/parametertree/test_parametertypes.py
imports: from unittest.mock import MagicMock
  import numpy
  import pyqtgraph
  import pyqtgraph.parametertree
  from pyqtgraph.functions import eq
  from pyqtgraph.parametertree.parameterTypes import ChecklistParameterItem
  from pyqtgraph.Qt import QtCore, QtGui
label_desc: Use image node_id 9 for calling a global function with example usage: test_recreate_from_savestate() without return types