* object, and pass it to search dao. Not expected to return any
* results, only meant to validate syntax of generated SQL code.
*/
@Test
public void searchesUsingAllCriteria() throws Exception {
SearchCriteria criteria = new SearchCriteria();
for (Method method : SearchCriteria.class.getMethods()) {
if (SearchCriteria.class.equals(method.getDeclaringClass())
&& method.getName().startsWith("set")) {
method.invoke(criteria, getParameter(method));