ServerNode { static String getHostNameNode(final String ip) { return String.format(HOST_NAME, ip); } ServerNode(final String jobName); boolean isLocalJobPausedPath(final String path); boolean isLocalJobShutdownPath(final String path); boolean isLocalServerDisabledPath(final String path); boolean isServerStatusPath(final String path); boolean isServerDisabledPath(final String path); boolean isServerShutdownPath(final String path); static final String ROOT; }
@Test public void assertGetHostNameNode() { assertThat(ServerNode.getHostNameNode("host0"), is("servers/host0/hostName")); }