SchedulerFacade { public void registerStartUpInfo() { listenerManager.startAllListeners(); leaderElectionService.leaderForceElection(); configService.persistJobConfiguration(); serverService.persistServerOnline(); serverService.clearJobPausedStatus(); statisticsService.startProcessCountJob(); shardingService.setReshardingFlag(); monitorService.listen(); } 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 testRegisterStartUpInfo() { schedulerFacade.registerStartUpInfo(); verify(listenerManager).startAllListeners(); verify(leaderElectionService).leaderForceElection(); verify(configService).persistJobConfiguration(); verify(serverService).persistServerOnline(); verify(serverService).clearJobPausedStatus(); verify(statisticsService).startProcessCountJob(); verify(shardingService).setReshardingFlag(); verify(monitorService).listen(); }