public byte[] encode(Routable routable) {
        return protocol.encode(version(), routable);
    }
Encodes the given routable using the current version of the test case.

@param routable The routable to encode.
@return The encoded data.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/MessagesTestBase.java