public String repliesToString() {
            StringBuilder builder = new StringBuilder();
            for (Reply reply : replies) {
                builder.append(reply.getClass().getSimpleName());
                if (reply.hasErrors()) {
                    builder.append('(');
                    for (int i = 0; i < reply.getNumErrors(); ++i) {
                        if (i > 0) {
                            builder.append(", ");
                        }
                        Error err = reply.getError(i);
                        builder.append(DocumentProtocol.getErrorName(err.getCode()));
                        builder.append(": ");
                        builder.append(err.getMessage());
                    }
                    builder.append(')');
                }
                builder.append('\n');
            }
            return builder.toString();
        }
Invoke registered MessageHandler with message
@param message message to "send"
documentapi/src/test/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSessionTestCase.java