criteriaBuilder and assert utilities