QuartzConnector c = (QuartzConnector)muleContext.getRegistry().lookupConnector("quartzConnector2");
assertNotNull(c);
assertNotNull(c.getQuartzScheduler());
assertEquals(StdScheduler.class, c.getQuartzScheduler().getClass());
StdScheduler scheduler = (StdScheduler) c.getQuartzScheduler();
assertEquals("MuleScheduler2", scheduler.getSchedulerName());
assertTrue(c.isConnected());
assertTrue(c.isStarted());
}