public boolean waitForInvocation(int timeoutMs, long interval) {
    if (!invoked) {
      GeodeAwaitility.await("listener was never invoked").until(() -> invoked);
    }
    return wasInvoked();
  }
Returns whether or not one of this <code>CacheListener</code> methods was invoked. Before
returning, the <code>invoked</code> flag is cleared.

@return whether one of this <code>CacheListener</code> methods was invoked
geode-dunit/src/main/java/org/apache/geode/cache30/TestCacheCallback.java