code: def test_ColorBar() -> None:
      color_mapper = LinearColorMapper()
      color_bar = ColorBar(color_mapper=color_mapper)
      assert color_bar.location == "top_right"
      assert color_bar.orientation == "auto"
      assert color_bar.height == "auto"
      assert color_bar.width == "auto"
      assert color_bar.scale_alpha == 1.0
      assert color_bar.title is None
      assert color_bar.title_standoff == 2
      assert color_bar.ticker == "auto"
      assert color_bar.formatter == "auto"
      assert color_bar.color_mapper == color_mapper
      assert color_bar.margin == 30
      assert color_bar.padding == 10
      assert color_bar.label_standoff == 5
      assert color_bar.major_tick_in == 5
      assert color_bar.major_tick_out == 0
      assert color_bar.minor_tick_in == 0
      assert color_bar.minor_tick_out == 0
      assert color_bar.display_low is None
      assert color_bar.display_high is None
      check_text_properties(
          color_bar, "title_", "13px", "bottom", "italic", scalar=True
      )
      check_text_properties(
          color_bar,
          "major_label_",
          "11px",
          "bottom",
          "normal",
          "left",
          scalar=True,
      )
      check_line_properties(color_bar, "major_tick_", "#ffffff")
      check_line_properties(color_bar, "minor_tick_", None)
      check_line_properties(color_bar, "bar_", None)
      check_line_properties(color_bar, "border_", None)
      check_fill_properties(color_bar, "background_", "#ffffff", 0.95)
      check_properties_existence(
          color_bar,
          [
              *ANNOTATION,
              "location",
              "orientation",
              "height",
              "width",
              "scale_alpha",
              "title",
              "title_standoff",
              "ticker",
              "formatter",
              "color_mapper",
              "margin",
              "padding",
              "label_standoff",
              "major_tick_in",
              "major_tick_out",
              "minor_tick_in",
              "minor_tick_out",
              "major_label_overrides",
              "major_label_policy",
              "display_low",
              "display_high",
          ],
          prefix("title_", TEXT),
          prefix("major_label_", TEXT),
          prefix("major_tick_", LINE),
          prefix("minor_tick_", LINE),
          prefix("bar_", LINE),
          prefix("border_", LINE),
          prefix("background_", FILL),
      )
  
imports: from __future__ import annotations
  import pytest
  from datetime import datetime
  from unittest import mock
  from bokeh.core.properties import field, value
  from bokeh.core.validation import check_integrity, process_validation_issues
  from bokeh.models import Arrow, ArrowHead, Band, BoxAnnotation, ColorBar, ColumnDataSource, GlyphRenderer, Label, LabelSet, Legend, LegendItem, LinearColorMapper, Node, PolyAnnotation, Slope, Span, Title, Whisker
  from bokeh.util.serialization import convert_datetime_type
  from _util_models import ABOVE_FILL, ABOVE_HATCH, ANGLE, BELOW_FILL, BELOW_HATCH, FILL, HATCH, HOVER_FILL, HOVER_HATCH, HOVER_LINE, LINE, TEXT, check_fill_properties, check_hatch_properties, check_line_properties, check_properties_existence, check_text_properties, prefix
label_desc: Use image node_id 3 for calling a global function with example usage: test_ColorBar() without return types