def METHOD_NAME(
    self, mock_getUserFromParam
):
    """
    test a set of options dict values without fallback user and fallback realm
    """
    test_sets = [
        # 1. test simple login name in options
        {
            "options_dict": {"user": "amigo"},
            "user_from_param": User("amigo", "defRealm"),
            "result": {"login": "amigo", "realm": "defRealm"},
        },
        # 2. test login and realn in options
        {
            "options_dict": {"user": "amigo", "realm": "mexico"},
            "user_from_param": User("amigo", "mexico"),
            "result": {"login": "amigo", "realm": "mexico"},
        },
        # 3. test user object in options
        {
            "options_dict": {"user": User("amigo", "mexico")},
            "user_from_param": User("amigo", "mexico"),
            "result": {"login": "amigo", "realm": "mexico"},
        },
        # 4. test no login and no realn in options
        {
            "options_dict": {},
            "user_from_param": User("", ""),
            "result": {"login": "", "realm": "norealm"},
        },
        # 5. test no login and realn in options
        {
            "options_dict": {"user": "", "realm": "norway"},
            "user_from_param": User("", "norway"),
            "result": {"login": "", "realm": "norealm"},
        },
    ]  # eof test sets
    for run in test_sets:
        options_dict = run["options_dict"]
        mock_getUserFromParam.return_value = run["user_from_param"]
        result = run["result"]
        login, realm = get_user_from_options(
            options_dict=options_dict,
            fallback_user=None,
            fallback_realm="norealm",
        )
        assert (
            login == result["login"] and realm == result["realm"],
            "failed on run %r:%r:%r" % (login, realm, run),
        )
    return