code: def test_should_be_deserializable_before_fitting(self):
      # When
      config = ProbabilisticIntentParserConfig().to_dict()
      parser_dict = {
          "unit_name": "probabilistic_intent_parser",
          "config": config,
          "intent_classifier": None,
          "slot_fillers": dict(),
      }
      self.tmp_file_path.mkdir()
      metadata = {"unit_name": "probabilistic_intent_parser"}
      self.writeJsonContent(
          self.tmp_file_path / "metadata.json", metadata
      )
      self.writeJsonContent(
          self.tmp_file_path / "intent_parser.json", parser_dict
      )
  
      # When
      parser = ProbabilisticIntentParser.from_path(self.tmp_file_path)
  
      # Then
      self.assertEqual(parser.config.to_dict(), config)
      self.assertIsNone(parser.intent_classifier)
      self.assertDictEqual(dict(), parser.slot_fillers)
  
imports: from __future__ import unicode_literals
  import io
  from future.utils import itervalues
  from mock import patch
  from snips_nlu.constants import RES_ENTITY, RES_INTENT, RES_INTENT_NAME, RES_SLOTS, RES_VALUE, RANDOM_STATE
  from snips_nlu.dataset import Dataset
  from snips_nlu.exceptions import IntentNotFoundError, NotTrained
  from snips_nlu.intent_classifier import IntentClassifier, LogRegIntentClassifier
  from snips_nlu.intent_parser import ProbabilisticIntentParser
  from snips_nlu.pipeline.configs import CRFSlotFillerConfig, LogRegIntentClassifierConfig, ProbabilisticIntentParserConfig
  from snips_nlu.result import unresolved_slot, intent_classification_result
  from snips_nlu.slot_filler import SlotFiller
  from snips_nlu.tests.utils import FixtureTest, MockIntentClassifier, MockSlotFiller
label_desc: Use image node_id 14 for calling the TestProbabilisticIntentParser obj's underlying member method code with example usage: obj.test_should_be_deserializable_before_fitting() without return types