code: def setUp(self):
      self.mock_callback = MagicMock(spec=Callback)
      self.batch_metrics = []
      self.batch_metrics_names = []
      self.batch_metrics_values = []
      self.epoch_metrics = []
      self.epoch_metrics_names = []
      self.epoch_metrics_values = []
      self.model = None
      self.pytorch_network = None
      self.optimizer = None
  
imports: import os
  from unittest.mock import ANY, MagicMock, call
  import numpy
  import torch
  import torch.nn
  from poutyne import Callback
  from tests.framework.base import CaptureOutputBase
label_desc: Use image node_id 1 for calling the ModelFittingTestCase obj's underlying member method code with example usage: obj.setUp() without return types