code: def test_correct_initial_global_state_single_value_type(self):
      record_specs = tf.nest.map_structure(
          lambda t: tf.TensorSpec(tf.shape(t)), SINGLE_VALUE_RECORDS[0]
      )
      query = tree_aggregation_query.TreeCumulativeSumQuery(
          clip_fn=_get_l2_clip_fn(),
          clip_value=10.0,
          noise_generator=_get_no_noise_fn(record_specs),
          record_specs=record_specs,
      )
      global_state = query.initial_global_state()
  
      self.assertIsInstance(
          global_state.tree_state, tree_aggregation.TreeState
      )
      expected_cum_sum = tf.nest.map_structure(
          lambda spec: tf.zeros(spec.shape), record_specs
      )
      self.assertAllClose(
          expected_cum_sum, global_state.samples_cumulative_sum
      )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_privacy.privacy.dp_query import test_utils
  from tensorflow_privacy.privacy.dp_query import tree_aggregation
  from tensorflow_privacy.privacy.dp_query import tree_aggregation_query
label_desc: Use image node_id 2 for calling the TreeCumulativeSumQueryTest obj's underlying member method code with example usage: obj.test_correct_initial_global_state_single_value_type() without return types