code: def test_mouseClickEvent():
      plt = pg.GraphicsView()
      plt.show()
      resizeWindow(plt, 200, 200)
      vb = pg.ViewBox()
      plt.scene().addItem(vb)
      vb.resize(200, 200)
      QtTest.QTest.qWaitForWindowExposed(plt)
      QtTest.QTest.qWait(100)
  
      roi = pg.RectROI((0, 0), (10, 20), removable=True)
      vb.addItem(roi)
      app.processEvents()
  
      mouseClick(
          plt,
          roi.mapToScene(pg.Point(2, 2)),
          QtCore.Qt.MouseButton.LeftButton,
      )
  
file_path: pyqtgraph/tests/graphicsItems/test_ROI.py
imports: import math
  import platform
  import numpy
  import pytest
  from packaging.version import Version, parse
  import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtGui, QtTest
  from tests.image_testing import assertImageApproved
  from tests.ui_testing import mouseClick, mouseDrag, mouseMove, resizeWindow
label_desc: Use image node_id 4 for calling a global function with example usage: test_mouseClickEvent() without return types