JavaServiceContract contract = new JavaServiceContract(Greeter.class);
EasyMock.expect(inboundWire.getServiceContract()).andReturn(contract).anyTimes();
EasyMock.replay(inboundWire);
//Create mocked WireService, for ServiceExtension.getServiceInstance()
WireService wireService = EasyMock.createNiceMock(WireService.class);
wireService.createProxy(EasyMock.isA(InboundWire.class));
EasyMock.expectLastCall().andReturn(new GreeterImpl()).anyTimes();
EasyMock.replay(wireService);
CeltixService celtixService = new CeltixService("name", Greeter.class, null, wireService, wsBinding, bus, null);
//Not sure how InboundWire is set to CeltixService, is the following way correct?