HornetQStreamMessage message = new HornetQStreamMessage();
message.writeString(Byte.toString(value));
message.reset();
Assert.assertEquals(value, message.readByte());
}
public void testReadByteFromInvalidType() throws Exception
{
doReadTypeFromInvalidType(RandomUtil.randomFloat(), new TypeReader()