assertFalse(results.contains(undergraduate));
}
@Test
public void testOr() {
QueryCriterion and = criterionBuilder.and(criterionBuilder.eq("code", "01"), criterionBuilder.eq("category", gender));
instance.or(and, criterionBuilder.eq("category", education));
List<Dictionary> results = repository.find(instance);
assertTrue(results.contains(male));
assertFalse(results.contains(female));
assertTrue(results.contains(undergraduate));