public void testStringConversions() throws Exception
{
JMSStreamMessage bm = TestMessageHelper.newJMSStreamMessage();
bm.writeString("true");
bm.reset();
assertEquals(true, bm.readBoolean());
bm = TestMessageHelper.newJMSStreamMessage();
bm.writeString("2");
bm.reset();
assertEquals((byte)2, bm.readByte());
bm.reset();