code: def test_image_set_random_preprocess(self):
      transformer = ImageRandomPreprocessing(ImageResize(10, 10), 1.0)
      image_set = ImageSet.read(self.image_path)
      transformed = image_set.transform(transformer)
      img = transformed.get_image()[0]
      assert img.shape == (3, 10, 10)
  
imports: import pytest
  import cv2
  from bigdl.dllib.nncontext import *
  from bigdl.dllib.feature.image import *
label_desc: Use image node_id 12 for calling the Test_Image_Set obj's underlying member method code with example usage: obj.test_image_set_random_preprocess() without return types