SchedulerFacade { public String getCron() { return configService.getCron(); } SchedulerFacade(final CoordinatorRegistryCenter coordinatorRegistryCenter, final JobConfiguration jobConfiguration, final List<ElasticJobListener> elasticJobListeners); void clearPreviousServerStatus(); void registerStartUpInfo(); void releaseJobResource(); String getCron(); boolean isMisfire(); JobTriggerListener newJobTriggerListener();  }
@Test public void testGetCron() { when(configService.getCron()).thenReturn("0 * * * * *"); assertThat(schedulerFacade.getCron(), is("0 * * * * *")); }