props.put(Constants.RS_PROVIDER_PROP_KEY,
"\r\n org.apache.cxf.jaxrs.provider.AegisElementProvider , \r\n"
+ "org.apache.cxf.jaxrs.provider.JAXBElementProvider\r\n");
props.put(Constants.RS_PROVIDER_GLOBAL_PROP_KEY, "false");
ServiceEndpointDescription sd = new ServiceEndpointDescriptionImpl("MyInterface", props);
List<Object> providers = JaxRSUtils.getProviders(bc, null, sd);
assertEquals(2, providers.size());
assertEquals(AegisElementProvider.class.getName(), providers.get(0).getClass().getName());
assertEquals(JAXBElementProvider.class.getName(), providers.get(1).getClass().getName());