### Question:
GenericProviderDeploymentContributor extends
    ProviderDeploymentContributorBase { @Override public String getName() { return "generic"; }  @Override String getRole(); @Override String getName(); @Override void contributeFilter(
      DeploymentContext context,
      Provider provider,
      Service service,
      ResourceDescriptor resource,
      List<FilterParamDescriptor> params ); static final String FILTER_PARAM; }### Answer:
@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 GenericProviderDeploymentContributor ) { return; } } fail( "Failed to find " + GenericProviderDeploymentContributor.class.getName() + " via service loader." ); }