code: def test_callback_method_invocation(
      mock_on_call_default, point, division, null_chunk_fixture
  ):
      """Test that calling any primary callback methods of :class:`data.data_core.NullDataChunk`
      results in a call to :meth:`data.data_core.BaseDataCore._on_call_default` with the appropriate
      `division` and `point` arguments. Using `on_fold_end` as an example, this function ensures::
          `on_fold_end(...)` call                    ->   `_on_call_default("fold", "end", ...)` call
      """
      null_chunk_fixture.__getattribute__(f"on_{division}_{point}")(
          "An arg", k="A kwarg"
      )
      mock_on_call_default.assert_called_once_with(
          division, point, "An arg", k="A kwarg"
      )
  
file_path: hyperparameter_hunter/tests/test_data/test_data_core.py
imports: from hyperparameter_hunter.data.data_core import BaseDataChunk, BaseDataset, NullDataChunk
  import pandas
  import pytest
  from unittest import mock
label_desc: Use image node_id 3 for calling a global function with example usage: test_callback_method_invocation(mock_on_call_default, point, division, null_chunk_fixture) without return types