public class ServiceRegistryPostProcessorTest extends TestCase {
public final void testPostProcessBeforeInitialization() {
ServiceRegistry registry = new DelegatingServiceRegistry();
ProxyFactoryCreator proxyFactoryCreator = new DefaultProxyFactoryCreator();
ServiceRegistryPostProcessor postProcessor = new ServiceRegistryPostProcessor(registry, proxyFactoryCreator);
TestRegistryAware testAware = new TestRegistryAware();
TestProxyFactoryCreatorAware proxyFactoryCreatorAware = new TestProxyFactoryCreatorAware();
postProcessor.postProcessBeforeInitialization(testAware, null);
postProcessor.postProcessBeforeInitialization(proxyFactoryCreatorAware, null);