code: def test_query_with_uncovered_by_rules():
      query = TextClassificationQuery(
          uncovered_by_rules=["query", "other*"]
      )
  
      assert EsQueryBuilder._to_es_query(query) == {
          "bool": {
              "must": {"match_all": {}},
              "must_not": {
                  "bool": {
                      "minimum_should_match": 1,
                      "should": [
                          {
                              "bool": {
                                  "must": {
                                      "query_string": {
                                          "default_field": "text",
                                          "default_operator": "AND",
                                          "query": "query",
                                      }
                                  }
                              }
                          },
                          {
                              "bool": {
                                  "must": {
                                      "query_string": {
                                          "default_field": "text",
                                          "default_operator": "AND",
                                          "query": "other*",
                                      }
                                  }
                              }
                          },
                      ],
                  }
              },
          }
      }
  
imports: import pytest
  from argilla.server.apis.v0.models.text_classification import TextClassificationAnnotation, TextClassificationQuery, TextClassificationRecord
  from argilla.server.commons.models import PredictionStatus, TaskStatus
  from argilla.server.daos.backend.search.query_builder import EsQueryBuilder
  from argilla.server.services.tasks.text_classification.model import ClassPrediction, ServiceTextClassificationRecord
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 15 for calling a global function with example usage: test_query_with_uncovered_by_rules() without return types