private MuleContext muleContext;
@Test
public void testDefaultJavaComponentShortcut() throws Exception
{
ConfigurationBuilder configBuilder = new SpringXmlConfigurationBuilder(
"org/mule/config/spring/parsers/specific/component-ok-test-flow.xml");
muleContext = muleContextFactory.createMuleContext(configBuilder);
Flow service = muleContext.getRegistry().lookupObject("service1");
validateCorrectServiceCreation(service);
assertEquals(DefaultJavaComponent.class, service.getMessageProcessors().get(0).getClass());