* @throws Exception
*/
public void testInvalidAcknowledgementFromBeanNotSentSOAPFault() throws Exception {
// Create an RMS on the service.
StorageManager storageManager =
SandeshaUtil.getSandeshaStorageManager(serverConfigContext, serverConfigContext.getAxisConfiguration());
RMSBeanMgr rmsBeanMgr = storageManager.getRMSBeanMgr();
SenderBeanMgr senderMgr = storageManager.getSenderBeanMgr();
String seqID = SandeshaUtil.getUUID();
// Mockup an RMSBean
RMSBean rmsBean = new RMSBean();
rmsBean.setCreateSeqMsgID(SandeshaUtil.getUUID());
rmsBean.setSequenceID(seqID);
rmsBean.setInternalSequenceID(SandeshaUtil.getInternalSequenceID(seqID, null));
rmsBean.setToEPR(AddressingConstants.Final.WSA_ANONYMOUS_URL);
rmsBean.setAcksToEPR(AddressingConstants.Final.WSA_ANONYMOUS_URL);
rmsBean.setReplyToEPR(AddressingConstants.Final.WSA_ANONYMOUS_URL);
rmsBean.setRMVersion(Sandesha2Constants.SPEC_VERSIONS.v1_1);
rmsBean.setClientCompletedMessages(new RangeString());
rmsBean.setNextMessageNumber(4);
rmsBean.setHighestOutMessageNumber(3);
SenderBean bean1 = getSenderBean(seqID, 1, 1);
SenderBean bean2 = getSenderBean(seqID, 0, 2);
SenderBean bean3 = getSenderBean(seqID, 1, 3);
// Create a transaction and insert the RMSBean
Transaction tran = storageManager.getTransaction();
rmsBeanMgr.insert(rmsBean);
senderMgr.insert(bean1);
senderMgr.insert(bean2);
senderMgr.insert(bean3);