};
}
public void testNoStreamCaching() throws Exception {
List<InterceptorType> interceptors = new LinkedList<InterceptorType>();
InterceptorRef streamCache = new InterceptorRef(new StreamCachingInterceptor());
interceptors.add(streamCache);
interceptors.add(new InterceptorRef(new DelegateProcessor()));
StreamCachingInterceptor.noStreamCaching(interceptors);
assertEquals(1, interceptors.size());
assertFalse(interceptors.contains(streamCache));
}