class_docstr: Test the import_optional function.
code: def setup_method(self):
      # mock missing dependency error for non existent module
      ERROR_TYPES["non_existent_module"] = "optional-deps"
  
file_path: alibi/alibi/utils/tests/test_import_optional.py
imports: import pytest
  from alibi.utils.missing_optional_dependency import import_optional, ERROR_TYPES, MissingDependency
label_desc: Use image node_id 1 for calling the TestImportOptional obj's underlying member method code with example usage: obj.setup_method() without return types