}
@Test
public void testDefaultConfig() throws Exception
{
QuartzConnector c = (QuartzConnector)muleContext.getRegistry().lookupConnector("quartzConnectorDefaults");
assertNotNull(c);
assertNotNull(c.getQuartzScheduler());
assertEquals(StdScheduler.class, c.getQuartzScheduler().getClass());
StdScheduler scheduler = (StdScheduler) c.getQuartzScheduler();
String defaultSchedulerName = "scheduler-" + muleContext.getConfiguration().getId();
assertEquals(defaultSchedulerName, scheduler.getSchedulerName());
assertTrue(c.isConnected());
assertTrue(c.isStarted());
}