class_docstr: Tests for the new `registry` and `registry_mapping` of the transform algo wrapper.
code: def test_suggest_parents(self):
      original_space = SpaceBuilder().build(
          {"x": "loguniform(1, 100, discrete=True)"}
      )
      transformed_space = build_required_space(
          original_space=original_space,
          type_requirement=GenealogistAlgo.requires_type,
          shape_requirement=GenealogistAlgo.requires_shape,
          dist_requirement=GenealogistAlgo.requires_dist,
      )
  
      base_original = format_trials.dict_to_trial(
          {"x": 10}, space=original_space
      )
      base_transformed = transformed_space.transform(base_original)
      assert base_transformed.params == {"x": numpy.log(10)}
  
      algo = GenealogistAlgo(
          space=transformed_space, base_suggestion=None
      )
  
      algo_wrapper = SpaceTransform(
          algorithm=algo, space=original_space
      )
      assert algo_wrapper.algorithm is algo
  
      # Get a suggestion from the wrapper.
      suggested_trials = algo_wrapper.suggest(1)
      assert suggested_trials[0] is not None
  
      for i in range(5):
          suggested_trials.extend(algo_wrapper.suggest(1))
          assert suggested_trials[i + 1] is not None
          assert (
              suggested_trials[i + 1].parent == suggested_trials[i].id
          )
  
imports: from __future__ import annotations
  import copy
  import typing
  from typing import Any, ClassVar
  import numpy
  import pytest
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Space
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils import backward, format_trials
  from orion.core.worker.algo_wrappers.space_transform import SpaceTransform
  from orion.core.worker.transformer import build_required_space
  from orion.core.worker.trial import Trial
  from orion.testing.dummy_algo import FixedSuggestionAlgo
  from .base import AlgoWrapperTests
label_desc: Use image node_id 3 for calling the TestRegistration obj's underlying member method code with example usage: obj.test_suggest_parents() without return types