code: def test_get_acquisition_function_deprecation(self):
      msg = (
          "`get_acquisition_function` has been moved to"
          " `botorch.acquisition.factory`."
      )
      with self.assertRaisesRegex(DeprecationError, msg):
          get_acquisition_function()
  
imports: import itertools
  from unittest import mock
  from unittest.mock import patch
  import torch
  from botorch.acquisition.objective import GenericMCObjective, LearnedObjective
  from botorch.acquisition.utils import compute_best_feasible_objective, expand_trace_observations, get_acquisition_function, get_infeasible_cost, get_optimal_samples, project_to_sample_points, project_to_target_fidelity, prune_inferior_points, repeat_to_match_aug_dim
  from botorch.exceptions.errors import BotorchTensorDimensionError, DeprecationError, UnsupportedError
  from botorch.models import SingleTaskGP
  from botorch.utils.testing import BotorchTestCase, MockModel, MockPosterior
  from gpytorch.distributions import MultivariateNormal
label_desc: Use image node_id 1 for calling the TestGetAcquisitionFunctionDeprecation obj's underlying member method code with example usage: obj.test_get_acquisition_function_deprecation() without return types