MessageLifecycleEvent extends Event implements Cloneable, Serializable { @Override public String getNameSpace() { StringBuffer result = new StringBuffer(super.getNameSpace()); if (containsFails()) { result.append(".fail"); } else { result.append(".success"); } return result.toString(); } 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();  }
@Test public void testGetNamespaceSuccess() { MessageLifecycleEvent mle = new MessageLifecycleEvent(); assertEquals(EventNameSpaceConstants.MESSAGE_LIFECYCLE + ".success", mle.getNameSpace()); }