assertFalse(it4.hasNext());
}
@Test
public void testSearchSizeLessThan() throws Exception {
SearchQuery q2 = new SearchQuery();
q2.andCriteria(SearchQuery.sizeLessThan(200));
Iterator<Long> it4 = index.search(null, mailbox, q2);
assertEquals(2, it4.next().longValue(), 1);
assertEquals(3, it4.next().longValue(), 1);
assertFalse(it4.hasNext());