def METHOD_NAME(self):
    """Test the actions QToolButtons"""
    self.plot.setLimits(1, 100, 1, 100)
    checkList = [  # QAction, Plot state getter
        (self.plot.xAxisAutoScaleAction, self.plot.getXAxis().isAutoScale),
        (self.plot.yAxisAutoScaleAction, self.plot.getYAxis().isAutoScale),
        (self.plot.xAxisLogarithmicAction, self.plot.getXAxis()._isLogarithmic),
        (self.plot.yAxisLogarithmicAction, self.plot.getYAxis()._isLogarithmic),
        (self.plot.gridAction, self.plot.getGraphGrid),
    ]
    for action, getter in checkList:
        self.mouseMove(self.plot)
        initialState = getter()
        toolButton = getQToolButtonFromAction(action)
        self.assertIsNot(toolButton, None)
        self.mouseClick(toolButton, qt.Qt.LeftButton)
        self.assertNotEqual(getter(), initialState,
                            msg='"%s" state not changed' % action.text())
        self.mouseClick(toolButton, qt.Qt.LeftButton)
        self.assertEqual(getter(), initialState,
                         msg='"%s" state not changed' % action.text())
    # Trigger a zoom reset
    self.mouseMove(self.plot)
    resetZoomAction = self.plot.resetZoomAction
    toolButton = getQToolButtonFromAction(resetZoomAction)
    self.assertIsNot(toolButton, None)
    self.mouseClick(toolButton, qt.Qt.LeftButton)