public void testReadStringFromByte() throws Exception
{
byte value = RandomUtil.randomByte();
HornetQStreamMessage message = new HornetQStreamMessage();
message.writeByte(value);
message.reset();
Assert.assertEquals(Byte.toString(value), message.readString());
}