class_docstr: Tests for AlgoWrapper subclasses in general.
  
  NOTE: This is a prime candidate for a generic class, but we can't do that in py37 otherwise
  pytest complains about the test class having a __new__.
docstr: Test the `unwrap` method.
docstr_tok: ["Test","the","`","unwrap","`","method","."]
code: def test_unwrap(self, algo_wrapper: AlgoWrapper[FixedSuggestionAlgo]):
      """Test the `unwrap` method."""
      assert algo_wrapper.unwrap(type(algo_wrapper)) is algo_wrapper
      assert (
          algo_wrapper.unwrap(type(algo_wrapper.algorithm))
          is algo_wrapper.algorithm
      )
      assert (
          algo_wrapper.unwrap(type(algo_wrapper.unwrapped))
          is algo_wrapper.unwrapped
      )
  
      class _FooWrapper(AlgoWrapper):
          ...
  
      with pytest.raises(
          RuntimeError,
          match="Unable to find a wrapper or algorithm of type",
      ):
          algo_wrapper.unwrap(_FooWrapper)
  
file_path: orion/tests/unittests/core/worker/algo_wrappers/base.py
imports: from __future__ import annotations
  from typing import ClassVar
  import pytest
  from orion.algo.space import Space
  from orion.core.worker.algo_wrappers.algo_wrapper import AlgoWrapper
  from orion.testing.dummy_algo import FixedSuggestionAlgo
label_desc: Use image node_id 2 for calling the AlgoWrapperTests obj's underlying member method code with example usage: obj.test_unwrap(algo_wrapper) without return types