code: def test_eval(self):
      metric = AdvancedMetric("test")
      metric.process_validate = Mock()
      metric.process_final_validate = Mock()
  
      metric.eval()
      metric.process("testing")
      metric.process_validate.assert_called_once_with("testing")
  
      metric.process_final("testing")
      metric.process_final_validate.assert_called_once_with("testing")
  
imports: import unittest
  from mock import Mock
  from torchbearer.metrics import MetricList, Metric, MetricTree, AdvancedMetric
label_desc: Use image node_id 3 for calling the TestAdvancedMetric obj's underlying member method code with example usage: obj.test_eval() without return types