code: def test_tuner_call_super_with_early_stopping(
      _, final_fit, super_search, tmp_path
  ):
      tuner = greedy.Greedy(
          hypermodel=test_utils.build_graph(), directory=tmp_path
      )
      final_fit.return_value = mock.Mock(), mock.Mock(), mock.Mock()
  
      tuner.search(x=None, epochs=10, validation_data=None)
  
      assert called_with_early_stopping(super_search)
  
imports: from unittest import mock
  import numpy
  import tensorflow
  from tensorflow import keras
  from tensorflow.keras.layers.experimental import preprocessing
  import autokeras
  from autokeras import keras_layers
  from autokeras import test_utils
  from autokeras.engine import tuner
  from autokeras.tuners import greedy
label_desc: Use image node_id 3 for calling a global function with example usage: test_tuner_call_super_with_early_stopping(_, final_fit, super_search, tmp_path) without return types