def METHOD_NAME(self):
    expected_where = [
        (
            u"to_tsvector('french', cast(\"country\" as text))"
            u' @@ "query country"',
        )
    ]
    data_dict = {"q": {"country": "Brazil"}, "language": "french"}
    fields_types = {"country": "text"}
    result = self._datastore_search(
        data_dict=data_dict, fields_types=fields_types
    )
    assert result["where"] == expected_where