public void testSourceWireNonInterceptorOptimization() throws Exception {
OutboundWire wire = new OutboundWireImpl();
OutboundInvocationChain chain = new OutboundInvocationChainImpl(operation);
chain.addInterceptor(new NonOptimizableInterceptor());
wire.addInvocationChain(operation, chain);
assertFalse(wire.isOptimizable());
}
public void testTargetWireInterceptorOptimization() throws Exception {
InboundWire wire = new InboundWireImpl();