private void checkTL(ExpectedCacheEvent expected) {
    assertEquals(1, tlInvokeCount);
    assertEquals(1, tlLastEvents.size());
    {
      Object old_CA = expected.cbArg;
      // expected.cbArg = null;
      try {
        expected.check((CacheEvent) tlLastEvents.get(0));
      } finally {
        expected.cbArg = old_CA;
      }
    }
    checkNoCW();
    // checkNoCL();
    clearCallbackState();
  }
Used to check to see if EntryEvent was what was expected
geode-core/src/integrationTest/java/org/apache/geode/cache/ProxyJUnitTest.java