@Override
    public ClientUpdater createServerToClientConnection(Endpoint endpoint,
        QueueManager queueManager, boolean isPrimary, ClientUpdater failedUpdater) {
      return new ClientUpdater() {

        @Override
        public void close() {
          // nothing
        }

        @Override
        public boolean isAlive() {
          return true;
        }

        @Override
        public void join(long wait) {
          // nothing
        }

        @Override
        public void setFailedUpdater(ClientUpdater failedUpdater) {
          // nothing
        }

        @Override
        public boolean isProcessing() {
          return true;
        }

        @Override
        public boolean isPrimary() {
          return true;
        }
      };
    }
A fake factory which returns a list of connections. Fake connections are created by calling
addConnection or add error. The factory maintains a queue of connections which will be handed
out when the queue manager calls createClientToServerConnection. If an error was added, the
factory will return null instead.
geode-core/src/integrationTest/java/org/apache/geode/cache/client/internal/QueueManagerIntegrationTest.java