ConfigurationNode { public boolean isFailoverPath(final String path) { return jobNodePath.getFullPath(FAILOVER).equals(path); } ConfigurationNode(final String jobName); boolean isShardingTotalCountPath(final String path); boolean isShardingStrategyClassPath(final String path); boolean isMonitorExecutionPath(final String path); boolean isFailoverPath(final String path); boolean isCronPath(final String path); boolean isSkipTimeStartPath(final String path); boolean isSkipTimeEndPath(final String path);  }
@Test public void assertIsFailoverPath() { assertTrue(configurationNode.isFailoverPath("/testJob/config/failover")); }
@Test public void assertIsNotFailoverPath() { assertFalse(configurationNode.isFailoverPath("/testJob/config/failover1")); }