assertEquals(10, query.getRowOffset());
}
public void testReverseLimitAndOffset() throws Exception {
try {
Query query = QueryBuilder.getInstance().parseQuery(" offset 10 limit 10 ");
fail("Should have thrown an exception.");
} catch (InvalidQueryException e) {
// Expected behavior.
}
}