int setExpectedCount(int newVal) {
      int oldVal = expectedCallCount;
      expectedCallCount = newVal;
      return oldVal;
    }
EntryEvent, CallCount validator for callbacks (CacheWriter, CacheListener
geode-core/src/integrationTest/java/org/apache/geode/TXJUnitTest.java