@Test public void testResumeCrashedJobInfo() { when(shardingService.getLocalHostShardingItems()).thenReturn(Collections.<Integer>emptyList()); schedulerFacade.resumeCrashedJobInfo(); verify(serverService).persistServerOnline(); verify(shardingService).getLocalHostShardingItems(); verify(executionService).clearRunningInfo(Collections.<Integer>emptyList()); }