code: def test_callback():
      new_callback = callback.Callback()
  
      new_callback.on_task_begin(None)
      new_callback.on_task_end(None)
      new_callback.on_iteration_begin(None, None)
      new_callback.on_iteration_end(None, None)
      new_callback.on_evaluate_before()
      new_callback.on_evaluate_after()
      new_callback.on_update_before()
      new_callback.on_update_after()
  
file_path: opytimizer/tests/opytimizer/utils/test_callback.py
imports: from opytimark.markers.n_dimensional import Sphere
  from opytimizer.core import function
  from opytimizer.optimizers import swarm
  from opytimizer.opytimizer import Opytimizer
  from opytimizer.spaces import search
  from opytimizer.utils import callback
label_desc: Use image node_id 1 for calling a global function with example usage: test_callback() without return types