code: def test_process(self, time):
      time.return_value = 1
      timer_metric = _TimerMetric("test")
      time.return_value = 2
      dt = timer_metric.process({})
  
      self.assertTrue(dt == 1)
  
file_path: torchbearer/tests/metrics/test_timer.py
imports: from unittest import TestCase
  from mock import Mock, MagicMock, patch
  import torchbearer
  from torchbearer.metrics.timer import TimerMetric, _TimerMetric
label_desc: Use image node_id 1 for calling the TestTimerMetric obj's underlying member method code with example usage: obj.test_process(time) without return types