public void testBytes() throws JMSException, IOException {
ActiveMQObjectMessage msg = new ActiveMQObjectMessage();
String str = "testText";
msg.setObject(str);
msg = (ActiveMQObjectMessage) msg.copy();
assertEquals(msg.getObject(), str);
}
public void testSetObject() throws JMSException {