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