{
JMSStreamMessage bm = TestMessageHelper.newJMSStreamMessage();
bm.writeShort((short) 87);
bm.reset();
assertEquals(87, bm.readInt());
bm.reset();
assertEquals(87, bm.readLong());
bm.reset();
assertEquals("87", bm.readString());
bm.reset();
checkConversionsFail(bm, new int[]{0, 1, 3, 6, 7, });