code: def mock_coordinate_transformation():
      # simple mock to return abs or relative positions
      class TransformMock:
          def __init__(self, relative_points, absolute_points) -> None:
              self.absolute_points = validate_points(absolute_points)
              self.relative_points = validate_points(relative_points)
  
          def abs_to_rel(self, points):
              np.testing.assert_equal(points, self.absolute_points)
              return self.relative_points
  
          def rel_to_abs(self, points):
              np.testing.assert_equal(points, self.relative_points)
              return self.absolute_points
  
      return TransformMock
  
imports: import numpy
  import pytest
  from norfair.utils import validate_points
label_desc: Use image node_id 3 for calling a global function with example usage: mock_coordinate_transformation() and returns: TransformMock, self, self