@Test
public void testDispatchInOnly() throws Exception {
QName name = new QName("testDispatchInOnly");
ExchangeSink sink = new ExchangeSink();
Service service = new MockService(name, new InOnlyService(), sink);
ServiceReference reference = new ServiceReferenceImpl(name, new InOnlyService(), null, null);
ExchangeDispatcher dispatch = _provider.createDispatcher(reference);
Exchange exchange = new CamelExchange(dispatch, new DefaultExchange(_camelContext), sink);
exchange.consumer(reference, reference.getInterface().getOperation(ServiceInterface.DEFAULT_OPERATION));
exchange.provider(service, service.getInterface().getOperation(ServiceInterface.DEFAULT_OPERATION));