EndpointBuilder endpointBuilder = muleContext.getRegistry().lookupEndpointBuilder("endpoint");
InboundEndpoint endpoint = endpointBuilder.buildInboundEndpoint();
assertEquals(2, endpoint.getMessageProcessors().size());
MessageProcessor endpointProcessor = endpoint.getMessageProcessorsFactory()
.createInboundMessageProcessorChain(endpoint, null, new NullMessageProcessor());
assertEquals("01231abc2", endpointProcessor.process(getTestEvent("0")).getMessageAsString());
}