code: def test(self):
      case1 = self.exp.model_surrogate()
      case2 = self.exp2.model_surrogate()
      case3 = self.exp.model_surrogate(max_vars=3, max_depth=2)
      case4 = self.exp2.model_surrogate(max_vars=3, max_depth=2)
  
      case5 = self.exp.model_surrogate(type="linear")
      case6 = self.exp2.model_surrogate(type="linear")
      case7 = self.exp.model_surrogate(type="linear", max_vars=3)
      case8 = self.exp2.model_surrogate(type="linear", max_vars=3)
  
      self.assertIsInstance(case1, DecisionTreeClassifier)
      self.assertIsInstance(case1.performance, pd.DataFrame)
      self.assertTrue(hasattr(case1, "plot"))
      self.assertIsInstance(case2, DecisionTreeRegressor)
      self.assertIsInstance(case2.performance, pd.DataFrame)
      self.assertTrue(hasattr(case2, "plot"))
      self.assertIsInstance(case3, DecisionTreeClassifier)
      self.assertIsInstance(case3.performance, pd.DataFrame)
      self.assertTrue(hasattr(case3, "plot"))
      self.assertIsInstance(case4, DecisionTreeRegressor)
      self.assertIsInstance(case4.performance, pd.DataFrame)
      self.assertTrue(hasattr(case4, "plot"))
  
      self.assertIsInstance(case5, LogisticRegression)
      self.assertIsInstance(case5.performance, pd.DataFrame)
      self.assertIsInstance(case6, LinearRegression)
      self.assertIsInstance(case6.performance, pd.DataFrame)
      self.assertIsInstance(case7, LogisticRegression)
      self.assertIsInstance(case7.performance, pd.DataFrame)
      self.assertIsInstance(case8, LinearRegression)
      self.assertIsInstance(case8.performance, pd.DataFrame)
  
file_path: DALEX/python/dalex/test/test_model_surrogate.py
imports: import unittest
  from sklearn.neural_network import MLPClassifier
  from sklearn.ensemble import RandomForestRegressor
  from sklearn.preprocessing import LabelEncoder
  from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor
  from sklearn.linear_model import LogisticRegression, LinearRegression
  import dalex
  import pandas
label_desc: Use image node_id 2 for calling the ModelSurrogateTest obj's underlying member method code with example usage: obj.test() without return types