public void testReadUnsignedByte() {
ActiveMQBytesMessage msg = new ActiveMQBytesMessage();
try {
msg.writeByte((byte) 2);
msg.reset();
assertTrue(msg.readUnsignedByte() == 2);
} catch (JMSException jmsEx) {
jmsEx.printStackTrace();
assertTrue(false);
}
}