def METHOD_NAME(self):
    from pyface.qt import QtCore, QtGui, is_qt5
    # create and mock a mouse wheel event
    if is_qt5:
        qt_event = QtGui.QWheelEvent(
            QtCore.QPoint(0, 0),  # pos
            self.window.control.mapToGlobal(QtCore.QPoint(0, 0)),  # globalPos
            QtCore.QPoint(0, 200),  # pixelDelta
            QtCore.QPoint(0, 200),  # angleDelta
            200,  # qt4Delta
            QtCore.Qt.Vertical,  # qt4Orietation
            QtCore.Qt.NoButton,  # buttons
            QtCore.Qt.NoModifier,  # modifiers
            QtCore.Qt.ScrollUpdate,  # phase
        )
    else:
        qt_event = QtGui.QWheelEvent(
            QtCore.QPointF(0, 0),  # pos
            self.window.control.mapToGlobal(QtCore.QPointF(0, 0)),  # globalPos
            QtCore.QPoint(0, 200),  # pixelDelta
            QtCore.QPoint(0, 200),  # angleDelta
            QtCore.Qt.NoButton,  # buttons
            QtCore.Qt.NoModifier,  # modifiers
            QtCore.Qt.ScrollUpdate,  # phase
            False,  # inverted
        )
    # dispatch event
    self.window._on_mouse_wheel(qt_event)
    # validate results
    self.assertEqual(self.tool.event.mouse_wheel_axis, "vertical")
    self.assertAlmostEqual(self.tool.event.mouse_wheel, 5.0 / 3.0)
    self.assertEqual(self.tool.event.mouse_wheel_delta, (0, 200))