@Test(expected = ChaosException.class) public void getSshClientException () { chaosSSHClient.getSshClient(); }
SSHClient getSshClient () { if (sshClient == null) { throw new ChaosException(SSH_CLIENT_INSTANTIATION_ERROR); } return sshClient; }
ChaosSSHClient implements SSHClientWrapper { SSHClient getSshClient () { if (sshClient == null) { throw new ChaosException(SSH_CLIENT_INSTANTIATION_ERROR); } return sshClient; } }
ChaosSSHClient implements SSHClientWrapper { SSHClient getSshClient () { if (sshClient == null) { throw new ChaosException(SSH_CLIENT_INSTANTIATION_ERROR); } return sshClient; }  }
ChaosSSHClient implements SSHClientWrapper { SSHClient getSshClient () { if (sshClient == null) { throw new ChaosException(SSH_CLIENT_INSTANTIATION_ERROR); } return sshClient; }  @Override ShellClient connect(int connectionTimeout); @Override void close(); @Override SSHClientWrapper withSSHCredentials(SSHCredentials sshCredentials); @Override SSHClientWrapper withEndpoint(String hostname); @Override SSHClientWrapper withEndpoint(String hostname, Integer portNumber); @Override SSHClientWrapper withRunningDirectory(String runningDirectory); @Override String runResource(Resource resource); @Override ShellOutput runCommand(String command); }
ChaosSSHClient implements SSHClientWrapper { SSHClient getSshClient () { if (sshClient == null) { throw new ChaosException(SSH_CLIENT_INSTANTIATION_ERROR); } return sshClient; }  @Override ShellClient connect(int connectionTimeout); @Override void close(); @Override SSHClientWrapper withSSHCredentials(SSHCredentials sshCredentials); @Override SSHClientWrapper withEndpoint(String hostname); @Override SSHClientWrapper withEndpoint(String hostname, Integer portNumber); @Override SSHClientWrapper withRunningDirectory(String runningDirectory); @Override String runResource(Resource resource); @Override ShellOutput runCommand(String command);  }