code: def test_get_thresholds(spark_dtree):
      assert np.array_equal(
          spark_dtree.get_thresholds(),
          np.array(
              [
                  list([0.0]),
                  3.5,
                  2.5,
                  -1,
                  -1,
                  -1,
                  2.5,
                  3.5,
                  1.5,
                  -1,
                  -1,
                  -1,
                  24.808349999999997,
                  list([1.0, 2.0]),
                  -1,
                  -1,
                  -1,
              ]
          ),
      )
  
imports: import numpy
  import pyspark
  import pytest
  from pyspark.ml.classification import DecisionTreeClassificationModel
  from pyspark.sql import SparkSession
  from dtreeviz.models.spark_decision_tree import ShadowSparkTree
label_desc: Use image node_id 16 for calling a global function with example usage: test_get_thresholds(spark_dtree) without return types