public void testShortConfiguration() throws Exception
{
SimpleService simpleService = new SimpleServiceBuilder().name("test-simple-service-short")
.inboundEndpoint(getTestInboundEndpoint("test"))
.component(new EchoComponent())
.build(muleContext);
assertEquals("test-simple-service-short", simpleService.getName());
assertEquals(EchoComponent.class,
((SimpleCallableJavaComponent) simpleService.getComponent()).getObjectType());