Author: asoldano
Date: 2014-01-16 10:05:46 -0500 (Thu, 16 Jan 2014)
New Revision: 18250
Modified:
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java
Log:
[JBWS-3739][JBWS-3708][JBWS-3707][JBWS-3689] adding class change forgotten in former
commit
Modified:
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java
===================================================================
---
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java 2014-01-16
15:04:35 UTC (rev 18249)
+++
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java 2014-01-16
15:05:46 UTC (rev 18250)
@@ -21,6 +21,9 @@
*/
package org.jboss.wsf.stack.cxf.configuration;
+import java.util.HashMap;
+import java.util.Map;
+
import junit.framework.TestCase;
import org.apache.cxf.ws.policy.PolicyEngine;
@@ -59,8 +62,9 @@
private static String setupPropertyAndGetAlternativeSelector(String alternative) {
JBossWebservicesMetaData wsmd = null;
if (alternative != null) {
- wsmd = new JBossWebservicesMetaData(null);
- wsmd.setProperty(Constants.CXF_POLICY_ALTERNATIVE_SELECTOR_PROP, alternative);
+ Map<String, String> props = new HashMap<String, String>();
+ props.put(Constants.CXF_POLICY_ALTERNATIVE_SELECTOR_PROP, alternative);
+ wsmd = new JBossWebservicesMetaData(null, null, null, null, props, null, null);
}
BusHolder holder = new NonSpringBusHolder(new DDBeans());
try {