code: def test_supported_metrics_contains_all_metrics(self):
      runnable = Pipeline()
      result = EvaluationResult(
          runnable=runnable, inputs=[], outputs=[], expected_outputs=[]
      )
  
      supported_metrics = [
          m.name for m in result._supported_metrics.keys()
      ]
      all_metric_names = [m.name for m in Metric]
      assert supported_metrics == all_metric_names
  
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 2 for calling the TestEvaluationResult obj's underlying member method code with example usage: obj.test_supported_metrics_contains_all_metrics() without return types