### Question:
JmsTextMessage extends JmsMessage implements TextMessage { @Override public String toString() { return "JmsTextMessage { " + facade.toString() + " }"; } JmsTextMessage(JmsTextMessageFacade facade); @Override JmsTextMessage copy(); @Override void setText(String text); @Override String getText(); @Override String toString(); @Override boolean isBodyAssignableTo(@SuppressWarnings("rawtypes") Class target);  }### Answer:
@Test public void testToString() throws Exception { JmsTextMessage textMessage = factory.createTextMessage(); textMessage.onDispatch(); assertTrue(textMessage.toString().startsWith("JmsTextMessage")); }