code: def get_exception(self):
      exc_cls = exceptions.TYPE_MAP[self.exception_index]
      return exc_cls("Dummy exception")
  
file_path: wand/tests/_resource_test.py
imports: from pytest import mark
  from wand import exceptions, resource
label_desc: Use image node_id 2 for calling the DummyResource obj's underlying member method code with example usage: obj.get_exception() and returns: exc_cls