8889909192939495969798
public void onEachObject(final SimpleObject val) { cnt2.increment(); } public void onQueryComplete() { cnt3.increment(); } } ); query.getResultList(objList); assertTrue(cnt1.getCount() == 1);