public void readyForEvents(InternalDistributedSystem system) {
    if (!isDurableClient() || queueManager == null) {
      return;
    }
    readyForEventsCalled = true;
    queueManager.readyForEvents(system);

  }
Test hook used to simulate a kill of the primaryEndpoint
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java