def METHOD_NAME(self):
    widget = GFKSelect2Widget(
        queryset=QuerySetSequence(Group.objects.all()), search_fields={'auth': {'group': ['name__icontains']}})
    assert isinstance(widget.get_url(), text_type)