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