code: def test_get_metric_name(self):
      params = {
          "objective": "binary:logistic",
          "eval_metric": "logloss",
          "ml_task": BINARY_CLASSIFICATION,
      }
      model = XgbAlgorithm(params)
      self.assertEqual(model.get_metric_name(), "logloss")
  
      params = {"eval_metric": "rmse"}
      model = XgbAlgorithm(params)
      self.assertEqual(model.get_metric_name(), "rmse")
  
imports: import unittest
  import tempfile
  import json
  import numpy
  import pandas
  import os
  from numpy.testing import assert_almost_equal
  from sklearn import datasets
  from supervised.algorithms.xgboost import XgbAlgorithm, additional
  from supervised.utils.metric import Metric
  from supervised.utils.constants import BINARY_CLASSIFICATION
  import tempfile
label_desc: Use image node_id 7 for calling the XgboostAlgorithmTest obj's underlying member method code with example usage: obj.test_get_metric_name() without return types