}
public void testReadShortFromString() throws Exception
{
short value = RandomUtil.randomShort();
HornetQStreamMessage message = new HornetQStreamMessage();
message.writeString(Short.toString(value));
message.reset();
Assert.assertEquals(value, message.readShort());
}