def METHOD_NAME(self):
    """
    test the user list comparison method
    """
    user_conditions = (
        # exact name match
        "Hugo, "
        # negative test
        "!Emma, "
        # wildcard realm test
        "*@realm, "
        # wildcard name test
        "a*, "
        # negative wildcad name test
        "!*z"
    )
    hugo = User("Hugo", "realm")
    match_type, match = user_list_compare(user_conditions, hugo)
    assert match
    assert match_type == "exact:match"
    emma = User("Emma")
    match_type, match = user_list_compare(user_conditions, emma)
    assert not match
    assert match_type == "not:match"
    betonz = User("betonz", "realm")
    match_type, match = user_list_compare(user_conditions, betonz)
    assert not match
    assert match_type == "not:match"
    wanda = User("wanda", "realm")
    match_type, match = user_list_compare(user_conditions, wanda)
    assert match
    assert match_type == "regex:match"
    wanda2 = "wanda@realm"
    match_type, match = user_list_compare(user_conditions, wanda2)
    assert match
    assert match_type == "regex:match"
    return