runAddressingTest(p3, "http://localhost:65535/java/lang/Runnable");
Map<String, Object> p4 = new HashMap<String, Object>();
p4.put("org.apache.cxf.ws.port", "8181");
runAddressingTest(p4, "http://localhost:8181/java/lang/Runnable");
}
<BUG>private void runAddressingTest(Map<String, Object> properties, String expectedAddress) {
</BUG>
BundleContext dswContext = EasyMock.createNiceMock(BundleContext.class);
EasyMock.replay(dswContext);
IntentManager intentManager = EasyMock.createNiceMock(IntentManager.class);

runAddressingTest(p3, "http://localhost:65535/java/lang/Runnable");
Map<String, Object> p4 = new HashMap<String, Object>();
p4.put("org.apache.cxf.ws.port", "8181");
runAddressingTest(p4, "http://localhost:8181/java/lang/Runnable");
}
private void runAddressingTest(Map<String, Object> properties, String expectedAddress) throws Exception {
BundleContext dswContext = EasyMock.createNiceMock(BundleContext.class);
EasyMock.replay(dswContext);
IntentManager intentManager = EasyMock.createNiceMock(IntentManager.class);
