code: def test_fit(self):
      params = {
          "learner_type": "Xgboost",
          "objective": "binary:logistic",
          "eval_metric": "logloss",
      }
      learner = AlgorithmFactory.get_algorithm(params)
      self.assertEqual(
          learner.algorithm_short_name,
          XgbAlgorithm.algorithm_short_name,
      )
  
file_path: mljar-supervised/tests/tests_algorithms/test_factory.py
imports: import unittest
  import tempfile
  import json
  import numpy
  import pandas
  from supervised.algorithms.factory import AlgorithmFactory
  from supervised.algorithms.xgboost import XgbAlgorithm
label_desc: Use image node_id 1 for calling the AlgorithmFactoryTest obj's underlying member method code with example usage: obj.test_fit() without return types