def METHOD_NAME(
    self, mock__get_client, mock_has_client_policy, mock_get_action_value
):
    """Google Authenticator url with default issuer and label
    with this empty setting
    - the tokenissuer should become 'LinOTP' and
    - the tokenlabel should become the serial
    using hmac non defaults: SHA256, 8 digits
    """
    mock__get_client.return_value = "localhost"
    mock_has_client_policy.return_value = {}
    mock_get_action_value.return_value = ""
    param = {
        "hashlib": "SHA256",
        "otpkey": "cc5bad98a76279171a08a5d18fd400e748945c2b",
        "serial": "HOTP1234",
        "otplen": "8",
        "type": "hmac",
    }
    url = create_google_authenticator(param=param)
    assert url.startswith("otpauth://hotp/LinOTP:HOTP1234?")
    assert "counter=0" in url
    assert "digits=8" in url
    assert "algorithm=SHA256" in url
    param["user.login"] = "hugo"
    url = create_google_authenticator(param=param)
    assert url.startswith("otpauth://hotp/LinOTP:hugo?")
    param["user.realm"] = "realm"
    url = create_google_authenticator(param=param)
    assert url.startswith("otpauth://hotp/LinOTP:hugo?")
    param["description"] = "description"
    url = create_google_authenticator(param=param)
    assert url.startswith("otpauth://hotp/LinOTP:hugo?")