private void putAndInvalidate() {
    region.put(1, 1);
    try {
      region.invalidate(1);
    } catch (Exception e) {
      logWriter.error("Exception occurred", e);
      throw new AssertionError(" failed to invalidate Integer", e);
    }
  }
put a key and then invalidate it
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/ConflationJUnitTest.java