code: def test_process_validation_issues_warn(
      mock_warn: MagicMock, mock_error: MagicMock
  ) -> None:
      issues = ValidationIssues(
          error=[
              ValidationIssue(
                  9999, "EXT:E", "Custom extension reports error", "err"
              )
          ],
          warning=[],
      )
      v.process_validation_issues(issues)
      assert mock_error.called
      assert not mock_warn.called
  
imports: from __future__ import annotations
  import pytest
  from typing import Any, cast
  from unittest.mock import MagicMock, patch
  from bokeh.core.properties import Int
  from bokeh.core.validation.check import ValidationIssue, ValidationIssues
  from bokeh.core.validation.issue import Error, Warning
  from bokeh.model import Model
  import bokeh.core.validation
label_desc: Use image node_id 16 for calling a global function with example usage: test_process_validation_issues_warn(mock_warn, mock_error) without return types