code: def test_givenANotificationCallback_whenTestLoop_thenSendNotification(
      self,
  ):
      notification_callback = NotificationCallback(
          notificator=self.notificator_mock
      )
      res = self.model.evaluate(
          x=self.some_x_data,
          y=self.some_y_data,
          callbacks=[notification_callback],
          return_dict_format=True,
      )
  
      call_list = self._build_notificator_call(res, mode="testing")
  
      self._assert_mock_calls(call_list)
  
file_path: poutyne/tests/framework/callbacks/test_notification.py
imports: from typing import List
  from unittest import TestCase
  from unittest.mock import MagicMock, call
  import torch
  from torch import nn
  from poutyne import Model
  from poutyne.framework.callbacks.notification import NotificationCallback
  from tests.framework.tools import SomeConstantMetric, repeat_batch_metric, repeat_batch_metric_value, some_batch_metric_1, some_batch_metric_2, some_constant_metric_value, some_data_tensor_generator, some_metric_1_value, some_metric_2_value
label_desc: Use image node_id 4 for calling the NotificationCallbackTest obj's underlying member method code with example usage: obj.test_givenANotificationCallback_whenTestLoop_thenSendNotification() without return types