_domain.registerServiceReference(SERVICE_B, new InOnlyService());
Service serviceA = _domain.registerService(SERVICE_A, new InOnlyService(), new MockHandler());
_domain.registerService(SERVICE_B, new InOnlyService(), _provider);
MockExchange ex = new MockExchange();
Message msg = ex.createMessage().setContent("TEST");
ex.setMessage(msg);
ex.consumer(referenceA, new InOnlyOperation(null));
ex.provider(serviceA, new InOnlyOperation(null));
invoker.handleMessage(ex);