def METHOD_NAME(monkeypatch, var, value, default, expected):
    if value is None:
        monkeypatch.delenv(var, raising=False)
    else:
        monkeypatch.setenv(var, value)
    actual = helpers.get_bool_env(var, default)
    assert actual == expected