public void testSQLValuesProvider() throws Exception {
Map<String, String[]> params = new HashMap<String, String[]>();
params.put("ignore", new String[] {"ha ha"});
params.put("port", new String[] {"port*"});
params.put("operation", new String[] {"blah"});
CriteriaAdapter adapter = new CriteriaAdapter(0, 100, params);
assertTrue(adapter.hasValue("limit") && adapter.hasValue("offset"));
assertTrue(adapter.hasValue("port") && adapter.hasValue("operation"));
}