code: def test_create_multiple_docs(self) -> None:
      sample1 = self._sample_doc()
      obj1 = next(iter(sample1.roots))
      event1 = ModelChangedEvent(sample1, obj1, "foo", 42)
  
      sample2 = self._sample_doc()
      obj2 = next(iter(sample2.roots))
      event2 = ModelChangedEvent(sample2, obj2, "foo", 42)
      with pytest.raises(ValueError):
          proto.create("PATCH-DOC", [event1, event2])
  
file_path: bokeh/tests/unit/bokeh/protocol/messages/test_patch_doc.py
imports: from __future__ import annotations
  import pytest
  import numpy
  import bokeh.document
  from bokeh.core.properties import Instance, Int, Nullable
  from bokeh.document.events import ColumnDataChangedEvent, ColumnsPatchedEvent, ColumnsStreamedEvent, ModelChangedEvent, RootAddedEvent, RootRemovedEvent
  from bokeh.model import Model
  from bokeh.models import ColumnDataSource
  from bokeh.protocol import Protocol
label_desc: Use image node_id 3 for calling the TestPatchDocument obj's underlying member method code with example usage: obj.test_create_multiple_docs() without return types