question: private void checkQuery ( String queryString ) throws Exception { ParsedQuery query = parser . parseQuery ( queryString , null ) ; TupleExpr tupleExpr = query . getTupleExpr ( ) ; Collection < SearchQueryEvaluator > queries = process ( interpreter , tupleExpr ) ; assertEquals ( "expect one query" , 1 , queries . size ( ) ) ; }
target:  Checks if the querystring contains exactly one lucene query throws exceptions if not or if the query is incomplete