RMProxy proxy = new RMProxy(handler);
RMSource source = control.createMock(RMSource.class);
SourcePolicyType sp = control.createMock(SourcePolicyType.class);
//RMDestination dest = control.createMock(RMDestination.class);
Identifier sid = RMUtils.getWSRMFactory().createIdentifier();
sid.setValue("s1");
Duration osd = DatatypeFactory.newInstance().newDuration("PT24H");
Identifier offeredSid = RMUtils.getWSRMFactory().createIdentifier();
offeredSid.setValue("s1Offer");
expect(handler.getBinding()).andReturn(binding);
expect(source.getSourcePolicies()).andReturn(sp);
expect(sp.getAcksTo()).andReturn(null);
expect(sp.getSequenceExpiration()).andReturn(null);