propertySource);
// verify the properties of the caching interceptor.
AbstractBeanDefinition cachingInterceptor = (AbstractBeanDefinition) registry
.getBeanDefinition(config.cachingInterceptorId);
MutablePropertyValues cachingProperties = cachingInterceptor
.getPropertyValues();
assertSame(propertySource.cacheKeyGenerator, cachingProperties
.getPropertyValue("cacheKeyGenerator").getValue());
assertSame(propertySource.cacheProviderFacadeReference, cachingProperties
.getPropertyValue("cacheProviderFacade").getValue());
assertSame(propertySource.cachingListeners, cachingProperties
.getPropertyValue("cachingListeners").getValue());
assertSame(propertySource.cachingModelMap, cachingProperties
.getPropertyValue("cachingModels").getValue());
// verify the properties of the flushing interceptor.
AbstractBeanDefinition flushingInterceptor = (AbstractBeanDefinition) registry
.getBeanDefinition(config.flushingInterceptorId);
MutablePropertyValues flushingProperties = flushingInterceptor
.getPropertyValues();
assertSame(propertySource.cacheProviderFacadeReference, flushingProperties
.getPropertyValue("cacheProviderFacade").getValue());
assertSame(propertySource.flushingModelMap, flushingProperties
.getPropertyValue("flushingModels").getValue());
}