op2.setServiceContract(inboundContract);
InboundInvocationChain inboundChain = createMock(InboundInvocationChain.class);
inboundChains.put(op2, inboundChain);
expect(inboundWire.getInvocationChains()).andReturn(inboundChains).anyTimes();
inboundChain.addInterceptor(EasyMock.anyInt(), (Interceptor)EasyMock.anyObject());
ServiceContract<Type> contract = new JavaServiceContract();
Map<String, Operation<Type>> operations = Collections.emptyMap();
contract.setCallbackOperations(operations);
expect(inboundWire.getServiceContract()).andReturn(contract);