### Question:
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);  }### Answer:
@Test(expected = ChaosException.class) public void getSshClientException () { chaosSSHClient.getSshClient(); }