public void checkAssertions() {
        done();
        
        Error err = toThrow.get();
        if (err != null) {
            throw(err);
        }
        
        if (conns.size() == 0) {
            // Nothing to validate.
            LOG.fine("Nothing to validate");
            return;
        }
        LOG.fine("Validating " + conns.size() + " connections(s)");
        AtomicReference<String> accept = new AtomicReference<String>();
        int index = 0;
        StubConnection prev = null;
        for (StubConnection conn : conns) {
            LOG.fine("Validating connection #" + index);
            validateConnection(index, conn, accept);
            validateOveractivePolling(index, conn, prev);
            prev = conn;
            index++;
        }
    }