assertSame(seq, s.getCurrent(inSid));
assertNull(s.getCurrent(sid));
}
public void testAddUnacknowledged() {
ObjectMessageContext ctx = new ObjectMessageContextImpl();
AddressingProperties maps = new AddressingPropertiesImpl();
ctx.put(CLIENT_ADDRESSING_PROPERTIES_OUTBOUND, maps);
RMPropertiesImpl rmps = new RMPropertiesImpl();
SequenceType seq = control.createMock(SequenceType.class);
Identifier sid = control.createMock(Identifier.class);
rmps.setSequence(seq);
RMContextUtils.storeRMProperties(ctx, rmps, true);
SourceSequence ss = control.createMock(SourceSequence.class);
RMMessage msg = control.createMock(RMMessage.class);
AbstractClientBinding binding = control.createMock(AbstractClientBinding.class);
handler.getBinding();
expectLastCall().andReturn(binding);
ObjectMessageContext clonedCtx = new ObjectMessageContextImpl();
binding.createObjectContext();
expectLastCall().andReturn(clonedCtx);
msg.getContext();
expectLastCall().andReturn(ctx);
seq.getIdentifier();