code: def test_get_plugins(monkeypatch):
      monkeypatch.setattr(
          pkg_resources, "iter_entry_points", mock_iter_entry_points
      )
  
      entry_points = stan.plugins.get_plugins()
      Plugin = next(entry_points).load()
      assert isinstance(Plugin(), stan.plugins.PluginBase)
  
file_path: pystan/tests/test_plugins.py
imports: import pkg_resources
  import pytest
  import stan
  import stan.plugins
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_plugins(monkeypatch) without return types