return muleContextFactory.createMuleContext(new SimpleConfigurationBuilder(null));
}
public void testConfigureSpring() throws ConfigurationException, InitialisationException
{
ConfigurationBuilder configurationBuilder = new AutoConfigurationBuilder(
"org/mule/test/spring/config1/test-xml-mule2-config.xml");
configurationBuilder.configure(muleContext);
// Just a few of the asserts from AbstractConfigBuilderTestCase
MessagingExceptionHandler es = muleContext.getRegistry().lookupModel("main").getExceptionListener();
assertNotNull(es);
assertTrue(es instanceof TestExceptionStrategy);