code: def check_configs(
      self,
      mock_model_chooser,
      mock_gpy_model=None,
      mock_model=MockModel(),
  ):
      if mock_gpy_model is not None:
          mock_model.model = mock_gpy_model
      mock_model_chooser.return_value = mock_model
  
      for m_c in self.methods_configs:
          np.random.seed(1)
  
          if mock_gpy_model is not None:
              mock_model.model = mock_gpy_model
          mock_model_chooser.return_value = mock_model
  
          print("Testing acquisition " + m_c["name"])
          name = self.get_result_filename(m_c["name"])
          unittest_result = run_eval(
              problem_config=self.problem_config,
              f_inits=self.f_inits,
              method_config=m_c,
              name=name,
              outpath=self.outpath,
              time_limit=None,
              unittest=self.is_unittest,
          )
          original_result = self.load_result_file(m_c["name"])
  
          self.assertTrue(
              (
                  abs(original_result - unittest_result)
                  < self.precision
              ).all(),
              msg=m_c["name"] + " failed",
          )
  
file_path: GPyOpt/GPyOpt/testing/functional_tests/base_test_case.py
imports: import os
  import numpy
  import unittest
  from mock import patch
  from driver import run_eval, run_evaluation_in_steps
  from mocks import MockModel
label_desc: Use image node_id 4 for calling the BaseTestCase obj's underlying member method code with example usage: obj.check_configs(mock_model_chooser, mock_gpy_model, mock_model) without return types