code: def test_get_by_name(space, name, expected):
      actual = space.get_by_name(name)
      assert actual == expected
  
imports: from hyperparameter_hunter import Real, Categorical, Integer
  from hyperparameter_hunter.feature_engineering import EngineerStep
  from hyperparameter_hunter.space.dimensions import RejectedOptional
  from hyperparameter_hunter.space.space_core import Space
  import pytest
  from sys import maxsize
label_desc: Use image node_id 14 for calling a global function with example usage: test_get_by_name(space, name, expected) without return types