@Test public void testToString() throws Exception { JmsTextMessage textMessage = factory.createTextMessage(); textMessage.onDispatch(); assertTrue(textMessage.toString().startsWith("JmsTextMessage")); }
@Override public String toString() { return "JmsTextMessage { " + facade.toString() + " }"; }
JmsTextMessage extends JmsMessage implements TextMessage { @Override public String toString() { return "JmsTextMessage { " + facade.toString() + " }"; } }
JmsTextMessage extends JmsMessage implements TextMessage { @Override public String toString() { return "JmsTextMessage { " + facade.toString() + " }"; } JmsTextMessage(JmsTextMessageFacade facade); }
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); }
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);  }