class_docstr: Tests for the ModelVisualizer and wrapped estimator.
class_docstr_tok: ["Tests","for","the","ModelVisualizer","and","wrapped","estimator","."]
docstr: Test get_params from visualizer and wrapped estimator
code: def test_get_params(self):
      """
      Test get_params from visualizer and wrapped estimator
      """
      model = LinearSVC()
      oz = MockModelVisualizer(model)
      params = oz.get_params()
  
      for key, val in model.get_params().items():
          assert key in params
          assert params[key] == val
  
      for key in ("ax", "fig", "is_fitted", "param1", "param2"):
          assert key in params
  
imports: import pytest
  import matplotlib.pyplot
  from yellowbrick.base import *
  from yellowbrick.base import VisualizerGrid
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickWarning
  from yellowbrick.exceptions import YellowbrickValueError
  from unittest.mock import patch
  from unittest.mock import MagicMock
  from tests.rand import RandomVisualizer
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from sklearn.svm import LinearSVC
  from sklearn.datasets import make_classification
label_desc: Use image node_id 1 for calling the TestModelVisualizer obj's underlying member method code with example usage: obj.test_get_params() without return types