};
Map<String, Object> props = new HashMap<String, Object>();
props.put("osgi.remote.requires.intents", "A SOAP.1_2");
ServiceEndpointDescription sd =
new ServiceEndpointDescriptionImpl(Arrays.asList(String.class.getName()), props);
List<String> effectiveIntents =
Arrays.asList(p.applyIntents(dswContext, callingContext, features, factory, sd));
assertEquals(2, effectiveIntents.size());
assertTrue(effectiveIntents.contains("A"));