def METHOD_NAME():
    up = UserParameter("", "", "mlist", allowed=["a", "b"])
    up.validate([])
    up.validate(["b"])
    up.validate(["b", "a"])
    with pytest.raises(ValueError):
        up.validate(["c"])
    with pytest.raises(ValueError):
        up.validate(["a", "c"])
    with pytest.raises(ValueError):
        up.validate("hello")