void checkCqListenerEvents(final String cqName, final int numEvents, final int secondsToWait) {
    QueryService qs = getCache().getQueryService();
    CqQuery cq = qs.getCq(cqName);
    // Get the listener and wait for the appropriate number of events
    ControlCqListener listener =
        (ControlCqListener) cq.getCqAttributes().getCqListener();
    listener.waitWhileNotEnoughEvents(SECONDS.toMillis(secondsToWait), numEvents);
    assertThat(numEvents).isEqualTo(listener.events.size());
  }
Returns the durable client proxy's HARegionQueue region name. This method is accessed via
reflection on a server VM.

@return the durable client proxy's HARegionQueue region name
geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DurableClientTestBase.java