public List getEvents(int eventType) {
      List eventsToCheck;
      switch (eventType) {
        case TYPE_CREATE:
          eventsToCheck = createEvents;
          break;
        case TYPE_UPDATE:
          eventsToCheck = updateEvents;
          break;
        case TYPE_DESTROY:
          eventsToCheck = destroyEvents;
          break;
        default:
          eventsToCheck = events;
      }
      return eventsToCheck;
    }
This method is not implemented to test event count matches the eventsToCheck.size() which is
confusing. It will wait and return if it got something in the eventsToCheck or not.
geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheServerTestUtil.java