@Test public void testSetMessageUniqueId() throws Exception { MessageLifecycleEvent mle = new MessageLifecycleEvent(); mle.setMessageUniqueId(DEFAULT_ID); try { mle.setMessageUniqueId(null); fail(); } catch (IllegalArgumentException expected) { } assertEquals(0, mle.getMleMarkers().size()); assertEquals(DEFAULT_ID, mle.getMessageUniqueId()); }
public void setMessageUniqueId(String uniqueId) { messageUniqueId = Args.notNull(uniqueId, "uniqueId"); }
MessageLifecycleEvent extends Event implements Cloneable, Serializable { public void setMessageUniqueId(String uniqueId) { messageUniqueId = Args.notNull(uniqueId, "uniqueId"); } }
MessageLifecycleEvent extends Event implements Cloneable, Serializable { public void setMessageUniqueId(String uniqueId) { messageUniqueId = Args.notNull(uniqueId, "uniqueId"); } MessageLifecycleEvent(); }
MessageLifecycleEvent extends Event implements Cloneable, Serializable { public void setMessageUniqueId(String uniqueId) { messageUniqueId = Args.notNull(uniqueId, "uniqueId"); } MessageLifecycleEvent(); @Override String getNameSpace(); void addMleMarker(MleMarker event); List<MleMarker> getMleMarkers(); void setMleMarkers(List<MleMarker> l); void setMessageUniqueId(String uniqueId); String getMessageUniqueId(); String getChannelId(); void setChannelId(String s); void setWorkflowId(String s); String getWorkflowId(); @Override String toString(); @Override MessageLifecycleEvent clone(); }
MessageLifecycleEvent extends Event implements Cloneable, Serializable { public void setMessageUniqueId(String uniqueId) { messageUniqueId = Args.notNull(uniqueId, "uniqueId"); } MessageLifecycleEvent(); @Override String getNameSpace(); void addMleMarker(MleMarker event); List<MleMarker> getMleMarkers(); void setMleMarkers(List<MleMarker> l); void setMessageUniqueId(String uniqueId); String getMessageUniqueId(); String getChannelId(); void setChannelId(String s); void setWorkflowId(String s); String getWorkflowId(); @Override String toString(); @Override MessageLifecycleEvent clone();  }