code: def test_expand_style_opts_color_predefined(self):
      style = {"fill_color": "red"}
      opts = ["color", "line_color", "fill_color"]
      data, mapping = expand_batched_style(
          style, opts, {"color": "color"}, nvals=3
      )
      self.assertEqual(data["fill_color"], ["red", "red", "red"])
      self.assertEqual(mapping, {"fill_color": {"field": "fill_color"}})
  
file_path: holoviews/holoviews/tests/plotting/bokeh/test_utils.py
imports: import pytest
  import holoviews
  from holoviews.core import Store
  from holoviews.element.comparison import ComparisonTestCase
  from holoviews.plotting.bokeh.styles import expand_batched_style
  from holoviews.plotting.bokeh.util import filter_batched_data, glyph_order, select_legends
label_desc: Use image node_id 5 for calling the TestBokehUtilsInstantiation obj's underlying member method code with example usage: obj.test_expand_style_opts_color_predefined() without return types