class_docstr: Base test class for Optimisers on Cartesian Product Spaces. 
docstr: Tests instantiation of the optimiser. 
docstr_tok: ["Tests","instantiation","of","the","optimiser","."]
code: def test_instantiation(self):
      """Tests instantiation of the optimiser."""
      self.report("Testing instantiation of optimiser.")
      for idx, (dcf, raw_prob_funcs) in enumerate(self.opt_problems):
          self.report(
              "[%d/%d] Testing instantiation of optimiser for %s."
              % (idx + 1, len(self.opt_problems), dcf),
              "test_result",
          )
          config = load_config_file(dcf)
          if hasattr(config, "fidel_space"):
              raw_func, raw_fidel_cost_func = raw_prob_funcs
          else:
              raw_func = raw_prob_funcs[0]
              raw_fidel_cost_func = None
          func_caller = get_multifunction_caller_from_config(
              raw_func, config, raw_fidel_cost_func=raw_fidel_cost_func
          )
          optimiser = self._child_instantiate_optimiser(
              func_caller,
              self.worker_manager_1,
              options=None,
              reporter=get_reporter("silent"),
          )
          self.report("Instantiated %s object." % (type(optimiser)))
          for attr in dir(optimiser):
              if not attr.startswith("_"):
                  self.report(
                      "optimiser.%s = %s"
                      % (attr, str(getattr(optimiser, attr))),
                      "test_result",
                  )
  
imports: import os
  import unittest
label_desc: Use image node_id 5 for calling the CPOptimiserBaseTestCase obj's underlying member method code with example usage: obj.test_instantiation() without return types