def METHOD_NAME(self, space: Space):
    """Test that trials passed to __init__ are stored in the registry."""
    trials = space.sample(3)
    registry = Registry(trials)
    assert all(trial in registry for trial in trials)
    assert len(registry) == 3