@Test public void assertIsLeaderInstancePath() { assertTrue(leaderNode.isLeaderInstancePath("/test_job/leader/election/instance")); }
boolean isLeaderInstancePath(final String path) { return jobNodePath.getFullPath(INSTANCE).equals(path); }
LeaderNode { boolean isLeaderInstancePath(final String path) { return jobNodePath.getFullPath(INSTANCE).equals(path); } }
LeaderNode { boolean isLeaderInstancePath(final String path) { return jobNodePath.getFullPath(INSTANCE).equals(path); } LeaderNode(final String jobName); }
LeaderNode { boolean isLeaderInstancePath(final String path) { return jobNodePath.getFullPath(INSTANCE).equals(path); } LeaderNode(final String jobName);  }
LeaderNode { boolean isLeaderInstancePath(final String path) { return jobNodePath.getFullPath(INSTANCE).equals(path); } LeaderNode(final String jobName);  static final String ROOT; }