private void awaitEntryExpired(Region region, String key) {
    await().until(() -> region.getEntry(key) == null || region.get(key) == null);
  }
Tests transaction expiration functionality

@since GemFire 4.0
geode-core/src/integrationTest/java/org/apache/geode/TXExpirationIntegrationTest.java