code: def test_contribution_bounds_already_enforced_computation_graph(
      self,
      mock_select_private_partitions_internal,
      mock_create_contribution_bounder,
  ):
      # Arrange.
      engine = self._create_dp_engine_default()
      aggregate_params, _ = self._create_params_default()
      aggregate_params.contribution_bounds_already_enforced = True
      aggregate_params.max_contributions_per_partition = 42
      data_extractors = self._get_default_extractors()
      # no privacy ids, no privacy_id_extractor
      data_extractors.privacy_id_extractor = None
      mock_select_private_partitions_internal.return_value = []
  
      # Act.
      engine.aggregate([1], aggregate_params, data_extractors)
  
      # Assert.
      mock_create_contribution_bounder.assert_not_called()
      mock_select_private_partitions_internal.assert_called_once()
      actual_max_rows_per_privacy_id = (
          mock_select_private_partitions_internal.call_args[0][2]
      )
      self.assertEqual(
          aggregate_params.max_contributions_per_partition,
          actual_max_rows_per_privacy_id,
      )
  
imports: import sys
  import unittest
  from typing import List, Optional, Tuple
  from unittest.mock import patch
  import numpy
  import apache_beam
  import apache_beam.testing.test_pipeline
  import apache_beam.testing.util
  import pydp.algorithms.partition_selection
  from absl.testing import absltest
  from absl.testing import parameterized
  import pipeline_dp
  from pipeline_dp import aggregate_params
  from pipeline_dp import budget_accounting
  from pipeline_dp import dp_computations
  from pipeline_dp.budget_accounting import NaiveBudgetAccountant
  from pipeline_dp.pipeline_backend import PipelineBackend
  from pipeline_dp.pipeline_functions import collect_to_container
  from pipeline_dp.report_generator import ReportGenerator
label_desc: Use image node_id 24 for calling the DpEngineTest obj's underlying member method code with example usage: obj.test_contribution_bounds_already_enforced_computation_graph(mock_select_private_partitions_internal, mock_create_contribution_bounder) without return types