ConfigurationNode { public boolean isShardingTotalCountPath(final String path) { return jobNodePath.getFullPath(SHARDING_TOTAL_COUNT).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 assertIsShardingTotalCountPath() { assertTrue(configurationNode.isShardingTotalCountPath("/testJob/config/shardingTotalCount")); }
@Test public void assertIsNotShardingTotalCountPath() { assertFalse(configurationNode.isShardingTotalCountPath("/testJob/config/shardingTotalCount1")); }