def METHOD_NAME(self):
    expected_select_content = (
        u"to_tsvector('french', cast(\"country\" as text))"
    )
    data_dict = {"q": {"country": "Brazil"}, "language": "french"}
    result = self._datastore_search(data_dict=data_dict, fields_types={})
    assert expected_select_content in result["select"][0]