pe.getAlternativeSelector().getClass().getName());
assertEquals(PolicyConstants.NAMESPACE_WS_POLICY,
bus.getExtension(PolicyConstants.class).getNamespace());
PolicyEngineImpl pei = (PolicyEngineImpl)pe;
Collection<PolicyProvider> providers = pei.getPolicyProviders();
assertEquals(4, providers.size());
int n = 0;
for (PolicyProvider pp : providers) {
if (pp instanceof ExternalAttachmentProvider) {
n++;