code: def test_server_with_versioner(self) -> None:
      def versioner(path: str) -> str:
          return path + "?v=VERSIONED"
  
      r = resources.Resources(
          mode="server",
          root_url="http://foo/",
          path_versioner=versioner,
      )
  
      assert r.js_files == [
          "http://foo/static/js/bokeh.min.js?v=VERSIONED",
          "http://foo/static/js/bokeh-gl.min.js?v=VERSIONED",
          "http://foo/static/js/bokeh-widgets.min.js?v=VERSIONED",
          "http://foo/static/js/bokeh-tables.min.js?v=VERSIONED",
          "http://foo/static/js/bokeh-mathjax.min.js?v=VERSIONED",
      ]
  
imports: from __future__ import annotations
  import pytest
  import os
  import re
  import subprocess
  import sys
  import bs4
  from packaging.version import Version
  import bokeh.util.version
  from bokeh.models import Model
  from bokeh.resources import RuntimeMessage, _get_cdn_urls
  from bokeh.settings import LogLevel, settings
  import bokeh.resources
label_desc: Use image node_id 14 for calling the TestResources obj's underlying member method code with example usage: obj.test_server_with_versioner() and returns: unknown