info.setStarted(this.started);
ConsumerInfoWriter writer = new ConsumerInfoWriter();
ConsumerInfoReader reader = new ConsumerInfoReader();
try {
byte[] data = writer.writePacketToByteArray(info);
ConsumerInfo testInfo = (ConsumerInfo) reader.readPacketFromByteArray(data);
assertTrue(testInfo.getId().equals(this.consumerId));
assertTrue(testInfo.getConsumerNo()==this.consumerNo);
assertTrue(testInfo.getPrefetchNumber() == this.prefetchNumber);