@Override
        public void run() {
            CreateVisitorReply reply = new CreateVisitorReply(DocumentProtocol.REPLY_CREATEVISITOR);
            reply.setLastBucket(new BucketId(16, 123));
            reply.getVisitorStatistics().setBucketsVisited(3);
            reply.getVisitorStatistics().setDocumentsVisited(1000);
            reply.getVisitorStatistics().setBytesVisited(1024000);
            reply.getVisitorStatistics().setDocumentsReturned(123);
            reply.getVisitorStatistics().setBytesReturned(512000);

            assertEquals(65, serialize("CreateVisitorReply", reply));

            for (Language lang : LANGUAGES) {
                reply = (CreateVisitorReply)deserialize("CreateVisitorReply", DocumentProtocol.REPLY_CREATEVISITOR, lang);
                assertNotNull(reply);
                assertEquals(new BucketId(16, 123), reply.getLastBucket());
                assertEquals(3, reply.getVisitorStatistics().getBucketsVisited());
                assertEquals(1000, reply.getVisitorStatistics().getDocumentsVisited());
                assertEquals(1024000, reply.getVisitorStatistics().getBytesVisited());
                assertEquals(123, reply.getVisitorStatistics().getDocumentsReturned());
                assertEquals(512000, reply.getVisitorStatistics().getBytesReturned());
            }
        }
@author Simon Thoresen Hult
@author Vegard Sjonfjell
documentapi/src/test/java/com/yahoo/documentapi/messagebus/protocol/Messages60TestCase.java