code: def test__transform_batch(self):
      with patch(
          "ISR.utils.datahandler.DataHandler._make_img_list",
          return_value=True,
      ):
          with patch(
              "ISR.utils.datahandler.DataHandler._check_dataset",
              return_value=True,
          ):
              DH = DataHandler(
                  lr_dir=None,
                  hr_dir=None,
                  patch_size=3,
                  scale=2,
                  n_validation_samples=None,
              )
      I = np.ones((2, 2))
      A = I * 0
      B = I * 1
      C = I * 2
      D = I * 3
      image = np.block([[A, B], [C, D]])
      t_image_1 = np.block([[D, B], [C, A]])
      t_image_2 = np.block([[B, D], [A, C]])
      batch = np.array([image, image])
      expected = np.array([t_image_1, t_image_2])
      self.assertTrue(
          np.all(
              DH._transform_batch(batch, [[1, 1], [2, 0]]) == expected
          )
      )
  
imports: import unittest
  import numpy
  from unittest.mock import patch
  from ISR.utils.datahandler import DataHandler
label_desc: Use image node_id 14 for calling the DataHandlerTest obj's underlying member method code with example usage: obj.test__transform_batch() without return types