SshHelper { protected static boolean isChannelConditionEof(int conditions) { if ((conditions & ChannelCondition.EOF) != 0) { return true; } return false; }  static Pair<Boolean, String> sshExecute(String host, int port, String user, File pemKeyFile, String password, String command); static void scpTo(String host, int port, String user, File pemKeyFile, String password, String remoteTargetDirectory, String localFile, String fileMode); static void scpTo(String host, int port, String user, File pemKeyFile, String password, String remoteTargetDirectory, byte[] data, String remoteFileName,
            String fileMode); static void scpTo(String host, int port, String user, File pemKeyFile, String password, String remoteTargetDirectory, String localFile, String fileMode,
            int connectTimeoutInMs, int kexTimeoutInMs); static void scpTo(String host, int port, String user, File pemKeyFile, String password, String remoteTargetDirectory, byte[] data, String remoteFileName,
            String fileMode, int connectTimeoutInMs, int kexTimeoutInMs); static Pair<Boolean, String> sshExecute(String host, int port, String user, File pemKeyFile, String password, String command, int connectTimeoutInMs,
            int kexTimeoutInMs,
            int waitResultTimeoutInMs);  }
@Test public void isChannelConditionEofTestTimeout() { Assert.assertFalse(SshHelper.isChannelConditionEof(ChannelCondition.TIMEOUT)); }
@Test public void isChannelConditionEofTestClosed() { Assert.assertFalse(SshHelper.isChannelConditionEof(ChannelCondition.CLOSED)); }
@Test public void isChannelConditionEofTestStdout() { Assert.assertFalse(SshHelper.isChannelConditionEof(ChannelCondition.STDOUT_DATA)); }
@Test public void isChannelConditionEofTestStderr() { Assert.assertFalse(SshHelper.isChannelConditionEof(ChannelCondition.STDERR_DATA)); }
@Test public void isChannelConditionEofTestEof() { Assert.assertTrue(SshHelper.isChannelConditionEof(ChannelCondition.EOF)); }
@Test public void isChannelConditionEofTestExitStatus() { Assert.assertFalse(SshHelper.isChannelConditionEof(ChannelCondition.EXIT_STATUS)); }
@Test public void isChannelConditionEofTestExitSignal() { Assert.assertFalse(SshHelper.isChannelConditionEof(ChannelCondition.EXIT_SIGNAL)); }