public void testIsSingleton() {
assertTrue(factoryBean.isSingleton());
}
public void testSetCacheKeyGenerator() {
CacheKeyGenerator keyGenerator = new HashCodeCacheKeyGenerator();
factoryBean.setCacheKeyGenerator(keyGenerator);
assertSame(keyGenerator, factoryBean.getCachingInterceptor()
.cacheKeyGenerator());
}