@Override
      public void endQuery() {
        // Only one indexed condition should be called
        boolean indexInvoked = false;
        for (final boolean b : indexCalled) {
          indexInvoked = indexInvoked || b;
        }
        assertTrue(indexInvoked);
      }
Tests a simple % terminated like predicate with an AND condition
geode-core/src/integrationTest/java/org/apache/geode/cache/query/functional/LikePredicateJUnitTest.java