docstr: Test the creation of the explainer via the factory
code: def test_get_explainer(self):
      """
      Test the creation of the explainer via the factory
      """
      domain = "text"
      alg = DICT_DOMAIN_TO_DEFAULT_ALG[domain]
      expected_explainer_class = DICT_DOMAIN_TO_CLASS[domain][alg]
      expected_explainer = expected_explainer_class()
      actual_explainer = ExplainerFactory.get_explainer(domain, alg)
  
      # Is the correct class returned?
      self.assertIsInstance(actual_explainer, expected_explainer_class)
  
      # Are the functions properly mapped?
      self.assertEqual(
          actual_explainer.build_explainer.__qualname__,
          expected_explainer.build_explainer.__qualname__,
      )
      self.assertEqual(
          actual_explainer.explain_instance.__qualname__,
          expected_explainer.explain_instance.__qualname__,
      )
      self.assertEqual(
          actual_explainer.save_explainer.__qualname__,
          expected_explainer.save_explainer.__qualname__,
      )
      self.assertEqual(
          actual_explainer.load_explainer.__qualname__,
          expected_explainer.load_explainer.__qualname__,
      )
  
file_path: contextual-ai/tests/explainer/test_explainer_factory.py
imports: import unittest
  from xai.explainer.config import DICT_DOMAIN_TO_DEFAULT_ALG, DICT_DOMAIN_TO_CLASS
  from xai.explainer.explainer_exceptions import DomainNotSupported, AlgorithmNotFoundInDomain
  from xai.explainer.explainer_factory import ExplainerFactory
label_desc: Use image node_id 4 for calling the TestExplainer obj's underlying member method code with example usage: obj.test_get_explainer() without return types