{
JMSBytesMessage bm = TestMessageHelper.newJMSBytesMessage();
final String testText = "This is a test";
bm.writeUTF(testText);
bm.reset();
String result = bm.toBodyString();
Assert.assertEquals(testText, result);
}
@Test
public void testToBodyStringWithNull() throws Exception