code: def test_single_delegate():
      # show it passes for a "fit"
      assert _IfHasDelegateTester().fit().predict()
      assert not hasattr(_IfHasDelegateTester(), "predict")
  
file_path: pmdarima/pmdarima/utils/tests/test_meta.py
imports: from pmdarima.utils.metaestimators import if_has_delegate
label_desc: Use image node_id 1 for calling a global function with example usage: test_single_delegate() without return types