}
public void setupMessage(Identifier sid, BigInteger mn, boolean outbound)
throws IOException, SQLException, SOAPException {
IMocksControl control = EasyMock.createNiceControl();
RMMessage msg = control.createMock(RMMessage.class);
EasyMock.expect(msg.getMessageNr()).andReturn(mn);
MessageContext ctx = new GenericMessageContext();
ctx.put("a", "astring");
ctx.put("b", Boolean.TRUE);