code: def test_fork_lineages_promote_trial(self, space: Space):
      num = 10
      pbt = _create_algo(
          space,
          exploit=ExploitStub(skip=None).configuration,
      ).unwrap(PBT)
  
      trials = sample_trials(
          pbt.space, num, status="completed", objective=1
      )
  
      for trial in trials:
          pbt.register(trial)
  
      pbt._queue = trials[:]
  
      branched_trials = pbt._fork_lineages(num)
      assert len(trials) == num
      assert len(branched_trials) == num
      assert pbt._queue == []
  
      for trial, branched_trial in zip(trials, branched_trials):
          expected_params = trial.params
          expected_params["f"] = 10.9
          assert branched_trial.params == expected_params
  
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 9 for calling the TestPBTSuggest obj's underlying member method code with example usage: obj.test_fork_lineages_promote_trial(space) without return types