code: def test_register_plugin_entry_point_modifier():
      class test_source(Source):
          pass
  
      entry_point = MockEntryPoint("from_test", test_source)
      Stream.register_plugin_entry_point(entry_point, staticmethod)
  
      Stream.from_test()
  
      assert inspect.isfunction(Stream().from_test)
  
file_path: streamz/streamz/tests/test_plugins.py
imports: import inspect
  import pytest
  from streamz import Source, Stream
label_desc: Use image node_id 2 for calling a global function with example usage: test_register_plugin_entry_point_modifier() without return types