@Test public void testObjectMessage() { ObjectMessage msg = new ObjectMessage(new String("bar")); Object o = msg.getObject(); Assert.assertEquals(String.class, o.getClass()); Assert.assertEquals("bar", o.toString()); }
public ObjectMessage() { }
ObjectMessage extends AbstractMessage { public ObjectMessage() { } }
ObjectMessage extends AbstractMessage { public ObjectMessage() { } ObjectMessage();  ObjectMessage(Object object);  ObjectMessage(Class<?> clazz); }
ObjectMessage extends AbstractMessage { public ObjectMessage() { } ObjectMessage();  ObjectMessage(Object object);  ObjectMessage(Class<?> clazz); String getMessage(); Class<?> getObjectClass(); void setObjectClass(Class<?> objectClass); Object getObject(); }
ObjectMessage extends AbstractMessage { public ObjectMessage() { } ObjectMessage();  ObjectMessage(Object object);  ObjectMessage(Class<?> clazz); String getMessage(); Class<?> getObjectClass(); void setObjectClass(Class<?> objectClass); Object getObject();  }