ConfigurationNode { public boolean isMonitorExecutionPath(final String path) { return jobNodePath.getFullPath(MONITOR_EXECUTION).equals(path); } ConfigurationNode(final String jobName); boolean isShardingTotalCountPath(final String path); boolean isMonitorExecutionPath(final String path); boolean isFailoverPath(final String path); boolean isCronPath(final String path);  }
@Test public void assertIsMonitorExecutionPath() { assertTrue(configurationNode.isMonitorExecutionPath("/testJob/config/monitorExecution")); }
@Test public void assertIsNotMonitorExecutionPath() { assertFalse(configurationNode.isMonitorExecutionPath("/testJob/config/monitorExecution1")); }