code: def test_generate_offspring_exploit_branch(self, space: Space):
      pbt = _create_algo(
          space,
          exploit=ExploitStub(rval="toset").configuration,
          explore=ExploreStub(rval="toset").configuration,
      ).unwrap(PBT)
  
      trials = sample_trials(
          pbt.space, 3, status="completed", objective=1
      )
  
      trial_to_promote = trials[0]
      exploited_trial = trials[1]
      new_params_expected = trials[2].params
  
      pbt.exploit_func.rval = exploited_trial
      pbt.explore_func.rval = new_params_expected
  
      # Make sure they are different
      assert new_params_expected != trial_to_promote.params
      assert new_params_expected != exploited_trial.params
  
      pbt.register(trials[0])
      pbt.register(trials[1])
  
      trial_to_branch, new_trial = pbt._generate_offspring(
          trial_to_promote
      )
  
      new_params_expected["f"] = 10.9
  
      assert new_trial.experiment == trial_to_branch.experiment
      assert trial_to_branch is exploited_trial
      assert new_trial is not None
      assert new_trial.params["f"] == new_params_expected["f"]
      assert new_trial.params == new_params_expected
  
imports: from __future__ import annotations
  import functools
  import logging
  from typing import ClassVar
  import numpy
  import pytest
  from base import ExploitStub, ExploreStub, sample_trials
  from pytest_mock import MockerFixture
  from orion.algo.pbt.pbt import PBT, compute_fidelities
  from orion.algo.space import Space
  from orion.core.worker.primary_algo import SpaceTransform, create_algo
  from orion.core.worker.transformer import ReshapedSpace, TransformedSpace
  from orion.core.worker.trial import Trial
  from orion.testing.algo import BaseAlgoTests, TestPhase
label_desc: Use image node_id 4 for calling the TestPBTSuggest obj's underlying member method code with example usage: obj.test_generate_offspring_exploit_branch(space) without return types