@Before
 public void setUp() {
   ProcessCountStatistics.reset(jobName);
   jobConfig.setShardingItemParameters("0=A,1=B,2=C");
   jobConfig.setDisabled(disabled);
   jobConfig.setMonitorPort(monitorPort);
   jobConfig.setOverwrite(true);
   REG_CENTER.init();
 }
 @Before
 public void setUp() throws NoSuchFieldException {
   MockitoAnnotations.initMocks(this);
   ReflectionUtils.setFieldValue(leaderElectionService, "jobNodeStorage", jobNodeStorage);
   ReflectionUtils.setFieldValue(leaderElectionService, "localHostService", localHostService);
   when(localHostService.getIp()).thenReturn("mockedIP");
   when(localHostService.getHostName()).thenReturn("mockedHostName");
   when(jobNodeStorage.getJobConfiguration()).thenReturn(jobConfig);
   jobConfig.setOverwrite(true);
 }