ConfigTypeHandlerFactory f = ConfigTypeHandlerFactory.getInstance();
Map<String, Object> sdProps = new HashMap<String, Object>();
// use default for this: sdProps.put(Constants.CONFIG_TYPE_PROPERTY, Constants.POJO_CONFIG_TYPE);
sdProps.put(Constants.POJO_ADDRESS_PROPERTY, "http://localhost:9876/abcd");
ServiceEndpointDescription sd = new ServiceEndpointDescriptionImpl(
Collections.singletonList("MyInterface"), sdProps);
CxfDistributionProvider dp = new DistributionProviderImpl(bc);
ConfigurationTypeHandler handler = f.getHandler(bc, sd, dp, new HashMap<String, Object>());
assertTrue(handler instanceof PojoConfigurationTypeHandler);