@Test
  public void verifyThatTransactionalDestroysRemoveFromTheEvictionList() {
    Cache cache = getCache();
    RegionFactory<?, ?> rf = cache.createRegionFactory();
    rf.setDataPolicy(DataPolicy.REPLICATE);
    rf.setEvictionAttributes(
        EvictionAttributes.createLRUEntryAttributes(1, EvictionAction.DEFAULT_EVICTION_ACTION));
    rf.setConcurrencyChecksEnabled(false);
    InternalRegion r = (InternalRegion) rf.create(name.getMethodName());
    CacheTransactionManager mgr = cache.getCacheTransactionManager();
    for (int i = 0; i < 2; i++) {
      r.put(i, "value" + i);
      mgr.begin();
      r.destroy(i);
      mgr.commit();
    }

    VMLRURegionMap regionMap = (VMLRURegionMap) r.getRegionMap();
    assertThat(regionMap.getEvictionList().size()).isEqualTo(0);
  }
Test for transactional operations on overflowed data
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/eviction/TransactionsWithOverflowTest.java