code: def test_properties(self):
      client = SparkConnectClient(
          "sc://foo/;token=bar", use_reattachable_execute=False
      )
      self.assertEqual(client.token, "bar")
      self.assertEqual(client.host, "foo")
  
      client = SparkConnectClient(
          "sc://foo/", use_reattachable_execute=False
      )
      self.assertIsNone(client.token)
  
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 3 for calling the SparkConnectClientTestCase obj's underlying member method code with example usage: obj.test_properties() without return types