{
//setup the RMSBean
expectedRMSBean = new RMSBean();
expectedRMSBean.setAnonymousUUID("someAnonymousUUID");
expectedRMSBean.setAvoidAutoTermination(true);
expectedRMSBean.setClientCompletedMessages(new RangeString());
expectedRMSBean.setClosed(true);
expectedRMSBean.setCreateSeqMsgID("someCSeqMsgId");
expectedRMSBean.setCreateSequenceMsgStoreKey("someMsgStoreKey");
expectedRMSBean.setExpectedReplies(1);
expectedRMSBean.setHighestOutMessageNumber(1);
expectedRMSBean.setHighestOutRelatesTo("someRelatesTo");
expectedRMSBean.setInternalSequenceID("someInternalSequenceID");
expectedRMSBean.setLastActivatedTime(1);
expectedRMSBean.setLastOutMessage(1);
expectedRMSBean.setLastSendError(new Exception());
expectedRMSBean.setLastSendErrorTimestamp(1);
expectedRMSBean.setNextMessageNumber(1);
expectedRMSBean.setOfferedEndPoint("someEndPoint");
expectedRMSBean.setOfferedSequence("offeredSequence");
expectedRMSBean.setPollingMode(true);
expectedRMSBean.setReferenceMessageStoreKey("someRefMsgStoreKey");
expectedRMSBean.setRMVersion(Sandesha2Constants.SPEC_VERSIONS.v1_1);
expectedRMSBean.setSecurityTokenData("someSecurityToken");
expectedRMSBean.setSequenceClosedClient(true);
expectedRMSBean.setSequenceID("someSequenceID");
expectedRMSBean.setServiceName("someService");
expectedRMSBean.setSoapVersion(1);
expectedRMSBean.setTerminateAdded(true);
expectedRMSBean.setTerminationPauserForCS(true);
expectedRMSBean.setTimedOut(true);
expectedRMSBean.setTransaction(null);
expectedRMSBean.setTransportTo("transportTo");
expectedRMSBean.setToEndpointReference(epr);
expectedRMSBean.setReplyToEndpointReference(epr);
expectedRMSBean.setAcksToEndpointReference(epr);
//setup the RMDBean
expectedRMDBean = new RMDBean();
expectedRMDBean.setClosed(true);
expectedRMDBean.setHighestInMessageId("someMsgId");
expectedRMDBean.setLastActivatedTime(1);
expectedRMDBean.setNextMsgNoToProcess(1);
expectedRMDBean.setOutboundInternalSequence("someSequenceID");
expectedRMDBean.setOutOfOrderRanges(new RangeString());
expectedRMDBean.setPollingMode(true);
expectedRMDBean.setReferenceMessageKey("someRefMsgStoreKey");
expectedRMDBean.setRMVersion("someVersion");
expectedRMDBean.setSecurityTokenData("someTokenData");
expectedRMDBean.setSequenceID("someSequenceID");
expectedRMDBean.setServerCompletedMessages(new RangeString());
expectedRMDBean.setServiceName("someService");
expectedRMDBean.setTerminated(true);
expectedRMDBean.setToEndpointReference(epr);
expectedRMDBean.setReplyToEndpointReference(epr);
expectedRMDBean.setAcksToEndpointReference(epr);