code: def mock_qqplot(resid, line, ax):
      ax.qqplot_called = True
  
file_path: pmdarima/pmdarima/arima/tests/test_arima_diagnostics.py
imports: from pmdarima.datasets import load_lynx
  from pmdarima.arima import ARIMA
  from unittest.mock import patch
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: mock_qqplot(resid, line, ax) without return types