@Test
public void execute() {

  doReturn(criteria).when(query).getCriteria();
  doReturn(new ArrayList<Object>()).when(handler).execute(criteria);
  handler.execute(query);
  verify(handler).execute(criteria);
}