*
*/
public void testIfCachingWorks() {
//configure RESTY to use cache:
final EventBus eventBus = new SimpleEventBus();
QueueableCacheStorage cache = new VolatileQueueableCacheStorage();
CallbackFilter cachingCallbackFilter = new CachingCallbackFilter(cache);
CallbackFactory callbackFactory = new DefaultCallbackFactory(cachingCallbackFilter,
new ModelChangeCallbackFilter(eventBus));
DispatcherFilter cachingDispatcherFilter = new CachingDispatcherFilter(cache, callbackFactory);