def METHOD_NAME(self):
    widget = GFKSelect2Widget()
    with self.assertRaises(NotImplementedError):
        widget.get_search_fields(Group)
    widget.search_fields = {'auth': {'group': ['name__icontains']}}
    assert isinstance(widget.get_search_fields(Group), collections.Iterable)
    assert all(isinstance(x, text_type) for x in widget.get_search_fields(Group))