code: def fit(self, X, y=None):
      self.features_to_drop_ = ["Name", "Marks"]
      self._get_feature_names_in(X)
      return self
  
file_path: feature_engine/tests/test_selection/test_base_selector.py
imports: import pytest
  from pandas.testing import assert_frame_equal
  from feature_engine.selection.base_selector import BaseSelector
label_desc: Use image node_id 2 for calling the MockClass obj's underlying member method code with example usage: obj.fit(X, y) and returns: self