TestImplementationProcessor implementationArtifactProcessor = new TestImplementationProcessor(testFactory);
processors.addArtifactProcessor(implementationArtifactProcessor);
// Add the test provider factory to the ProviderFactory extension point
ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
providerFactories.addProviderFactory(new TestImplementationProviderFactory());
}