code: def test_base_wrapper(self):
      obj_with_params = BaseWrapper(a=10, b="message")
      obj_without_params = BaseWrapper()
  
      def foo_fn():
          return "bar"
  
      obj_with_fn = BaseWrapper(foo_fn)
      self.assertEqual(
          obj_with_params.target_params, {"a": 10, "b": "message"}
      )
      self.assertEqual(obj_without_params.target_params, {})
      self.assertEqual(obj_with_fn.target_fn(), "bar")
  
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 1 for calling the TestBaseWrapper obj's underlying member method code with example usage: obj.test_base_wrapper() and returns: str