code: def test_notImplemented(self):
      with self.assertRaisesRegex(
          NotImplementedError, "Could not find signature"
      ):
          self.dispatcher[0]
  
      with self.assertRaisesRegex(
          NotImplementedError, "Could not find signature"
      ):
          self.dispatcher(0)
  
file_path: botorch/test/utils/test_dispatcher.py
imports: from __future__ import annotations
  from contextlib import redirect_stdout
  from inspect import getsource, getsourcefile
  from io import StringIO
  from itertools import product
  from unittest.mock import patch
  from botorch.utils.dispatcher import Dispatcher, MDNotImplementedError
  from botorch.utils.testing import BotorchTestCase
label_desc: Use image node_id 5 for calling the TestDispatcher obj's underlying member method code with example usage: obj.test_notImplemented() without return types