public void testReadUnsignedShort() {
ActiveMQBytesMessage msg = new ActiveMQBytesMessage();
try {
msg.writeShort((short) 3000);
msg.reset();
assertTrue(msg.readUnsignedShort() == 3000);
} catch (JMSException jmsEx) {
jmsEx.printStackTrace();
assertTrue(false);
}