InboundWire iwire = createNiceMock(InboundWire.class);
Map<Operation<?>, InboundInvocationChain> chains = new HashMap<Operation<?>, InboundInvocationChain>();
expect(iwire.getInvocationChains()).andReturn(chains);
replay(iwire);
WirePostProcessorRegistry registry = createMock(WirePostProcessorRegistry.class);
registry.process(EasyMock.eq(iwire), EasyMock.eq(owire));
replay(registry);
WireService wireService = createMock(WireService.class);
wireService.checkCompatibility((ServiceContract<?>) EasyMock.anyObject(),
(ServiceContract<?>) EasyMock.anyObject(), EasyMock.eq(false));
expectLastCall().anyTimes();