A test like this fails: {code} public String evictEntityCacheCheck(String CACHE_REGION_NAME){ assertTrue("2lc entity cache is expected to contain Employee id = 20", emf.getCache().contains(Employee.class, 20)); assertTrue("2lc entity cache is expected to contain Employee id = 30", emf.getCache().contains(Employee.class, 30)); ...
|