code: def test_set_params(self):
      class Pipo:
          def __init__(self):
              self.name = "pipo"
  
          def __call__(self, message):
              return message
  
      pipo = Pipo()
      obj = BaseWrapper(pipo)
  
      # argument is set accordingly
      obj.set_params(message="OK")
      self.assertEqual(obj.target_params, {"message": "OK"})
      self.assertEqual(obj.target_fn(**obj.target_params), "OK")
  
      # invalid argument is passed
      try:
          obj = BaseWrapper(Pipo())
          obj.set_params(invalid="KO")
      except Exception:
          self.assertEqual(obj.target_params, {})
  
file_path: lime/lime/tests/test_scikit_image.py
imports: import unittest
  from lime.wrappers.scikit_image import BaseWrapper
  from lime.wrappers.scikit_image import SegmentationAlgorithm
  from skimage.segmentation import quickshift
  from skimage.data import chelsea
  from skimage.util import img_as_float
  import numpy
label_desc: Use image node_id 3 for calling the TestBaseWrapper obj's underlying member method code with example usage: obj.test_set_params() and returns: message