cache.onTypesChanged(new TypesChangedEvent(this, s));
basicQueries(factory.createEntityManager(), Boolean.TRUE, 3, 1);
// test to see if modifying A causes A's query cache to be flushed
s.add(CacheObjectA.class);
cache.onTypesChanged(new TypesChangedEvent(this, s));
basicQueries(factory.createEntityManager(), Boolean.FALSE, 3, 1);
// make sure that non-manual notification works
EntityManager em = factory.createEntityManager();
try {