public Reply getAndRemoveReply(int index) {
            if (index >= replies.size()) {
                throw new IllegalArgumentException("Bad reply index");
            }
            return replies.remove(index);
        }
Invoke registered MessageHandler with message
@param message message to "send"
documentapi/src/test/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSessionTestCase.java