code: def fit(self, dataset):
      self.fitted = True
      return self
  
imports: from __future__ import unicode_literals
  import json
  import shutil
  import sys
  import tempfile
  import traceback
  from builtins import object
  from contextlib import contextmanager
  from pathlib import Path
  from unittest import TestCase
  from snips_nlu.common.utils import json_string, unicode_string
  from snips_nlu.entity_parser.entity_parser import EntityParser
  from snips_nlu.intent_classifier import IntentClassifier
  from snips_nlu.intent_parser import IntentParser
  from snips_nlu.resources import load_resources
  from snips_nlu.result import empty_result
  from snips_nlu.slot_filler import SlotFiller
label_desc: Use image node_id 1 for calling the MockIntentClassifier obj's underlying member method code with example usage: obj.fit(dataset) and returns: self