rme.setManager(manager);
Service as = control.createMock(Service.class);
EasyMock.expect(ae.getService()).andReturn(as);
EndpointInfo aei = control.createMock(EndpointInfo.class);
EasyMock.expect(ae.getEndpointInfo()).andReturn(aei).times(2);
SoapBindingInfo bi = control.createMock(SoapBindingInfo.class);
EasyMock.expect(aei.getBinding()).andReturn(bi);
SoapVersion sv = Soap11.getInstance();
EasyMock.expect(bi.getSoapVersion()).andReturn(sv);
String ns = "http://schemas.xmlsoap.org/wsdl/soap/";
EasyMock.expect(bi.getBindingId()).andReturn(ns);
EasyMock.expect(aei.getTransportId()).andReturn(ns);
String addr = "addr";
EasyMock.expect(aei.getAddress()).andReturn(addr);
Object ua = new Object();
EasyMock.expect(rme.getUsingAddressing(aei)).andReturn(ua);