source = createMock(RMSource.class);
destination = createMock(RMDestination.class);
handler = createMock(RMHandler.class);
ap = RMUtils.getWSRMConfFactory().createAcksPolicyType();
rma = RMUtils.getWSRMPolicyFactory().createRMAssertionType();
BaseRetransmissionInterval bri =
RMUtils.getWSRMPolicyFactory().createRMAssertionTypeBaseRetransmissionInterval();
bri.setMilliseconds(new BigInteger("3000"));
rma.setBaseRetransmissionInterval(bri);
ExponentialBackoff eb =
RMUtils.getWSRMPolicyFactory().createRMAssertionTypeExponentialBackoff();
eb.getOtherAttributes().put(RetransmissionQueue.EXPONENTIAL_BACKOFF_BASE_ATTR,
RetransmissionQueue.DEFAULT_EXPONENTIAL_BACKOFF);