@Before public void setup() { motechSchedulerFactoryBean = (MotechSchedulerFactoryBean) getBeanFromBundleContext( context, "org.motechproject.motech-scheduler", "motechSchedulerFactoryBean"); scheduler = motechSchedulerFactoryBean.getQuartzScheduler(); }
@Before public void setup() { scheduler = motechSchedulerFactoryBean.getQuartzScheduler(); }