code: def test_create_header(monkeypatch: pytest.MonkeyPatch) -> None:
      message.Message.msgtype = "msgtype"
      monkeypatch.setattr(
          "bokeh.util.serialization.make_id", lambda: "msgid"
      )
      header = message.Message.create_header(request_id="bar")
      assert set(header.keys()) == {"msgid", "msgtype", "reqid"}
      assert header["msgtype"] == "msgtype"
      assert header["msgid"] == "msgid"
      assert header["reqid"] == "bar"
  
imports: from __future__ import annotations
  import pytest
  import bokeh.protocol.message
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_header(monkeypatch) without return types