code: def test_interrupt_all(self):
      client = SparkConnectClient(
          "sc://foo/;token=bar", use_reattachable_execute=False
      )
      mock = MockService(client._session_id)
      client._stub = mock
  
      client.interrupt_all()
      self.assertIsNotNone(
          mock.req, "Interrupt API was not called when expected"
      )
  
imports: import unittest
  import uuid
  from collections.abc import Generator
  from typing import Optional, Any
  from pyspark.testing.connectutils import should_test_connect, connect_requirement_message
  from pyspark.testing.utils import eventually
label_desc: Use image node_id 5 for calling the SparkConnectClientTestCase obj's underlying member method code with example usage: obj.test_interrupt_all() without return types