code: def test_base_invoke() -> None:
      with pytest.raises(NotImplementedError):
          p = MagicMock()
          obj = _Good(p)
          super(_Good, obj).invoke("foo")
  
file_path: bokeh/tests/unit/bokeh/command/test_subcommand.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock
  import bokeh.command.subcommand
label_desc: Use image node_id 6 for calling a global function with example usage: test_base_invoke() without return types