### Question:
JmsObjectMessage extends JmsMessage implements ObjectMessage { @Override public String toString() { return "JmsObjectMessageFacade { " + facade.toString() + " }"; } JmsObjectMessage(JmsObjectMessageFacade facade); @Override JmsObjectMessage copy(); @Override void setObject(Serializable newObject); @Override Serializable getObject(); @Override boolean isBodyAssignableTo(@SuppressWarnings("rawtypes") Class target); @Override String toString();  }### Answer:
@Test public void testToString() throws Exception { String content = "myStringContent"; JmsObjectMessageFacade facade = new JmsTestObjectMessageFacade(); facade.setObject(content); JmsObjectMessage objectMessage = new JmsObjectMessage(facade); objectMessage.onDispatch(); assertTrue(objectMessage.toString().startsWith("JmsObjectMessageFacade")); }