// build up some queries to test
// this one should be only on the superclass, since
// CacheObjectF has a timeout.
Broker broker = JPAFacadeHelper.toBroker(em);
org.apache.openjpa.kernel.Query q1 = broker.newQuery(
JPQLParser.LANG_JPQL, "select a from "
+ CacheObjectE.class.getSimpleName() + " a");
q1.setCandidateExtent(broker.newExtent(CacheObjectE.class, false));
iterate((Collection) q1.execute());
assertInCache(q1, Boolean.TRUE);