### Question:
EncryptUriDeploymentContributor extends ProviderDeploymentContributorBase implements ProviderDeploymentContributor { @Override public String getName() { return PROVIDER_IMPL_NAME; }  @Override String getRole(); @Override String getName(); void setAliasService(AliasService as); @Override void initializeContribution(DeploymentContext context); @Override void contributeProvider( DeploymentContext context, Provider provider ); @Override void contributeFilter(
      DeploymentContext context,
      Provider provider,
      Service service,
      ResourceDescriptor resource,
      List<FilterParamDescriptor> params ); static final String PROVIDER_ROLE_NAME; static final String PROVIDER_IMPL_NAME; }### Answer:
@SuppressWarnings("rawtypes") @Test public void testServiceLoader() throws Exception { ServiceLoader loader = ServiceLoader.load( ProviderDeploymentContributor.class ); Iterator iterator = loader.iterator(); assertThat( "Service iterator empty.", iterator.hasNext() ); while( iterator.hasNext() ) { Object object = iterator.next(); if( object instanceof EncryptUriDeploymentContributor ) { return; } } fail( "Failed to find " + EncryptUriDeploymentContributor.class.getName() + " via service loader." ); }