private void checkCL(ExpectedCacheEvent expected, boolean clearCallbackState) {
    assertEquals(1, clInvokeCount);
    expected.check(clLastEvent);
    if (clearCallbackState) {
      clearCallbackState();
    }
  }
Used to check to see if EntryEvent was what was expected
geode-core/src/integrationTest/java/org/apache/geode/cache/ProxyJUnitTest.java