code: def test_private_collection_with_non_private_transform_throws_error(
      self,
  ):
      runner = fn_api_runner.FnApiRunner()
      with beam.Pipeline(runner=runner) as pipeline:
          # Arrange
          pcol = pipeline | "Create produce" >> beam.Create(
              [1, 2, 3, 4, 5, 6]
          )
          budget_accountant = budget_accounting.NaiveBudgetAccountant(
              total_epsilon=1, total_delta=0.01
          )
          private_collection = (
              pcol
              | "Create private collection"
              >> private_beam.MakePrivate(
                  budget_accountant=budget_accountant,
                  privacy_id_extractor=PrivateBeamTest.privacy_id_extractor,
              )
          )
  
          # Act and Assert
          with self.assertRaises(TypeError) as context:
              (
                  private_collection | "Non private transform on "
                  "PrivatePCollection" >> beam.Map(lambda x: x)
              )
          self.assertIsInstance(
              private_collection, private_beam.PrivatePCollection
          )
          self.assertTrue(
              "private_transform should be of type "
              "PrivatePTransform but is " in str(context.exception)
          )
  
imports: import unittest
  import apache_beam
  from apache_beam.runners.portability import fn_api_runner
  from apache_beam import pvalue
  from unittest.mock import patch
  import apache_beam.testing.util
  from apache_beam.testing.test_pipeline import TestPipeline
  import pipeline_dp
  from pipeline_dp import private_beam
  from pipeline_dp import aggregate_params, budget_accounting
label_desc: Use image node_id 5 for calling the PrivateBeamTest obj's underlying member method code with example usage: obj.test_private_collection_with_non_private_transform_throws_error() without return types