code: def testFormatterTypeCheck(self):
      formatter = notebook_formatters.FORMATTER_REGISTRY[types.Artifact]
      with self.assertRaisesRegex(
          ValueError,
          "Expected object of type .*Artifact.* but got .*object object",
      ):
          formatter.render(object())
  
file_path: tfx/tfx/orchestration/experimental/interactive/notebook_formatters_test.py
imports: import re
  import tensorflow
  from tfx import types
  from tfx.orchestration.experimental.interactive import notebook_formatters
  from tfx.types import standard_artifacts
label_desc: Use image node_id 3 for calling the NotebookFormattersTest obj's underlying member method code with example usage: obj.testFormatterTypeCheck() without return types