The message of failing query compilation should contain the query text. This is the case for method
QueryTest.compileSingleStringQuery(String assertion, String singleStringQuery, boolean positive).
It is not the case for methods
QueryTest.compileSingleStringQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive) and
QueryTest.compileAPIQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive).