code: def test_img_obj_det_fit_call_auto_model_fit(fit, tmp_path):
      auto_model = ak.tasks.image.ImageObjectDetector(
          directory=tmp_path, seed=test_utils.SEED
      )
  
      images, labels = test_utils.get_object_detection_data()
  
      auto_model.fit(
          x=images,
          y=labels,
      )
  
      assert fit.is_called
  
imports: from unittest import mock
  import autokeras
  from autokeras import test_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_img_obj_det_fit_call_auto_model_fit(fit, tmp_path) without return types