code: def test_close(self, mock_close: MagicMock) -> None:
      s = bcs.ClientSession()
      s.close()
      assert mock_close.call_count == 1
      assert mock_close.call_args[0] == ("closed",)
      assert mock_close.call_args[1] == {}
  
file_path: bokeh/tests/unit/bokeh/client/test_session__client.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock, patch
  import bokeh.client.session
label_desc: Use image node_id 7 for calling the Test_ClientSession obj's underlying member method code with example usage: obj.test_close(mock_close) without return types