@Test public void assertIsMisfire() { when(jobNodeStorage.getJobNodeData(ConfigurationNode.MISFIRE)).thenReturn("true"); assertTrue(configService.isMisfire()); verify(jobNodeStorage).getJobNodeData(ConfigurationNode.MISFIRE); }
public boolean isMisfire() { return Boolean.valueOf(jobNodeStorage.getJobNodeData(ConfigurationNode.MISFIRE)); }
ConfigurationService { public boolean isMisfire() { return Boolean.valueOf(jobNodeStorage.getJobNodeData(ConfigurationNode.MISFIRE)); } }
ConfigurationService { public boolean isMisfire() { return Boolean.valueOf(jobNodeStorage.getJobNodeData(ConfigurationNode.MISFIRE)); } ConfigurationService(final CoordinatorRegistryCenter coordinatorRegistryCenter, final JobConfiguration jobConfiguration); }
ConfigurationService { public boolean isMisfire() { return Boolean.valueOf(jobNodeStorage.getJobNodeData(ConfigurationNode.MISFIRE)); } ConfigurationService(final CoordinatorRegistryCenter coordinatorRegistryCenter, final JobConfiguration jobConfiguration); void persistJobConfiguration(); int getShardingTotalCount(); Map<Integer, String> getShardingItemParameters(); String getJobParameter(); String getCron(); boolean isMonitorExecution(); int getProcessCountIntervalSeconds(); int getConcurrentDataProcessThreadCount(); int getFetchDataCount(); void checkMaxTimeDiffSecondsTolerable(); boolean isFailover(); boolean isMisfire(); String getJobShardingStrategyClass(); int getMonitorPort(); String getJobName(); String getScriptCommandLine(); }
ConfigurationService { public boolean isMisfire() { return Boolean.valueOf(jobNodeStorage.getJobNodeData(ConfigurationNode.MISFIRE)); } ConfigurationService(final CoordinatorRegistryCenter coordinatorRegistryCenter, final JobConfiguration jobConfiguration); void persistJobConfiguration(); int getShardingTotalCount(); Map<Integer, String> getShardingItemParameters(); String getJobParameter(); String getCron(); boolean isMonitorExecution(); int getProcessCountIntervalSeconds(); int getConcurrentDataProcessThreadCount(); int getFetchDataCount(); void checkMaxTimeDiffSecondsTolerable(); boolean isFailover(); boolean isMisfire(); String getJobShardingStrategyClass(); int getMonitorPort(); String getJobName(); String getScriptCommandLine();  }