code: def test_acquisition_function_withGradients(self):
      self.mock_model.predict_withGradients.return_value = (
          1,
          1,
          0.1,
          0.1,
      )
  
      (
          weighted_acquisition,
          weighted_gradient,
      ) = self.lcb_acquisition.acquisition_function_withGradients(
          np.array([2, 2])
      )
  
      self.assertTrue(
          np.array_equal(
              np.array([[-1.0], [-1.0]]), weighted_acquisition
          )
      )
      self.assertTrue(
          np.array_equal(
              np.array([[-0.1, -0.1], [-0.1, -0.1]]), weighted_gradient
          )
      )
  
file_path: GPyOpt/GPyOpt/testing/acquisitions_tests/test_lcb_acquisition.py
imports: import unittest
  from mock import Mock
  import numpy
  from GPyOpt.acquisitions import AcquisitionLCB
  from GPyOpt.core.task.space import Design_space
label_desc: Use image node_id 3 for calling the TestLCBAcquisition obj's underlying member method code with example usage: obj.test_acquisition_function_withGradients() without return types