code: def test_calculate_metrics_with_non_supported_metric(self):
      runnable = Pipeline()
      result = EvaluationResult(
          runnable=runnable, inputs=[], outputs=[], expected_outputs=[]
      )
  
      unsupported_metric = MagicMock()
  
      result.calculate_metrics(
          metric=unsupported_metric, some_argument="some_value"
      )
  
      assert unsupported_metric.called_once_with(
          some_argument="some_value"
      )
  
file_path: haystack/test/evaluation/test_eval.py
imports: from unittest.mock import MagicMock
  from haystack.core.pipeline import Pipeline
  from haystack.evaluation.eval import EvaluationResult
  from haystack.evaluation.metrics import Metric
label_desc: Use image node_id 4 for calling the TestEvaluationResult obj's underlying member method code with example usage: obj.test_calculate_metrics_with_non_supported_metric() without return types