code: def test_default(self):
      matcher = KeywordsMatching()
      with self.assertRaisesRegexp(ValueError, ""):
          matcher.matching_subjects_and_filenames()
      with self.assertRaisesRegexp(AttributeError, ""):
          KeywordsMatching.from_dict("wrong_argument")
  
file_path: NiftyNet/tests/filename_matching_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.utilities.filename_matching import KeywordsMatching
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 1 for calling the FileNameMatchingTest obj's underlying member method code with example usage: obj.test_default() without return types