n = (Number) q.execute();
}*/
public void testResultClassIsCached() {
Broker broker = _factory.newBroker();
Query q = broker.newQuery(JPQLParser.LANG_JPQL, "Select a FROM " +
CacheObjectAChild1.class.getSimpleName() + " a");
q.setResultType(Object.class);
Collection c = (Collection) q.execute();
CacheTestHelper.iterate(c);
CacheTestHelper.assertInCache(this, q, Boolean.TRUE);