cacheProviderFacade.setFailQuietlyEnabled(false);
Object objectToStore = new Object();
cacheProviderFacadeControl.expectAndReturn(cacheProviderFacade
.isSerializableCacheElementRequired(), false);
CacheException expectedException = expectOnPutInCacheThrowsException(objectToStore);
cacheProviderFacadeControl.replay();
try {
cacheProviderFacade.putInCache(key, cachingModel, objectToStore);
fail();