@Test
public void testAggregationEvaluatorOnly() {
SelectStatement stmt = new SelectStatement();
stmt.setSelectClause(new SelectClause().add(
new AggregationEvaluator("count", null))
.add(new AggregationEvaluator("sum", null)));
assertTrue(stmt.aggregationEvaluatorOnly());
stmt.getSelectClause().add(new FieldEvaluator("a.b"));
assertFalse(stmt.aggregationEvaluatorOnly());