### Question:
ChaosSSHClient implements SSHClientWrapper { @Override public SSHClientWrapper withSSHCredentials (SSHCredentials sshCredentials) { this.sshCredentials = sshCredentials; return this; }  @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 public void withSSHCredentials () { assertSame(chaosSSHClient, chaosSSHClient.withSSHCredentials(null)); }