CacheTestHelper.assertInCache(this, q, Boolean.TRUE);
c = (Collection) q.execute();
assertEquals(end - start, c.size());
// now check if a smaller range is in cache
q = broker.newQuery(JPQLParser.LANG_JPQL, "Select a FROM " +
CacheObjectAChild1.class.getSimpleName() + " a");
q.setRange(start, end - 1);
CacheTestHelper.assertInCache(this, q, Boolean.FALSE);
c = (Collection) q.execute();
assertEquals(end - start - 1, c.size());