code: def test_register_plugin_entry_point_raises_duplicate_name():
      entry_point = MockEntryPoint("map", None)
  
      with pytest.raises(ValueError):
          Stream.register_plugin_entry_point(entry_point)
  
file_path: streamz/streamz/tests/test_plugins.py
imports: import inspect
  import pytest
  from streamz import Source, Stream
label_desc: Use image node_id 4 for calling a global function with example usage: test_register_plugin_entry_point_raises_duplicate_name() without return types