def METHOD_NAME():
    r = reactpy.Ref(1)
    assert r.current == 1
    r.current = 2
    assert r.current == 2
    assert r.set_current(3) == 2
    assert r.current == 3
    r = reactpy.Ref()
    with pytest.raises(AttributeError):
        r.current  # noqa: B018
    r.current = 4
    assert r.current == 4