code: def test_skforecast_Sarimax_params_are_stored_when_initialization():
      """
      Check `params` are stored in the forecaster.
      """
      forecaster = ForecasterSarimax(regressor=Sarimax(order=(1, 0, 1)))
      expected_params = Sarimax(order=(1, 0, 1)).get_params(deep=True)
  
      assert forecaster.params == expected_params
  
file_path: skforecast/skforecast/ForecasterSarimax/tests/test_init.py
imports: import re
  import pytest
  from pytest import approx
  import numpy
  import pandas
  from pmdarima.arima import ARIMA
  from skforecast.Sarimax import Sarimax
  from skforecast.ForecasterSarimax import ForecasterSarimax
  from skforecast.exceptions import IgnoredArgumentWarning
  from sklearn.linear_model import LinearRegression
label_desc: Use image node_id 2 for calling a global function with example usage: test_skforecast_Sarimax_params_are_stored_when_initialization() without return types