code: def testGetCustomDictNoFile(self, findConfigFile, environ):
      environ.__getitem__.side_effect = dict(
          NTA_DYNAMIC_CONF_DIR=os.path.dirname(
              self.files["nupic-custom.xml"]
          )
      ).get
      environ.get.return_value = None
      findConfigFile.side_effect = self.files.get
      configuration.Configuration.resetCustomConfig()
  
      self.assertEqual(
          configuration.Configuration.getCustomDict(), dict()
      )
      del self.files["nupic-custom.xml"]
  
imports: from copy import copy
  import os
  import shutil
  from StringIO import StringIO
  import sys
  import tempfile
  import unittest2
  import uuid
  from pkg_resources import resource_filename
  from mock import Mock, patch
  from pkg_resources import resource_filename
  from xml.parsers.expat import ExpatError
  import nupic
  import nupic.support.configuration_custom
  import configuration_test
label_desc: Use image node_id 12 for calling the ConfigurationCustomTest obj's underlying member method code with example usage: obj.testGetCustomDictNoFile(findConfigFile, environ) without return types