@Test
public void testSSHCertificates() {

    SSHCertificates certs1 = new SSHCertificates();
    SSHCertificates certs2 = new SSHCertificates();
    assertEquals(certs1, certs2);
    assertEquals(certs1, certs1);
    SSHCertificate cert = new SSHCertificate();
    cert.setCertificate("cert");
    certs1.setCertificates(Collections.singletonList(cert));
    assertEquals(Collections.singletonList(cert), certs1.getCertificates());
    assertNotEquals(certs1, certs2);
    certs2.setCertificates(Collections.singletonList(cert));
    assertEquals(certs1, certs2);
    certs2.setCertificateSigner("signer");
    assertNotEquals(certs1, certs2);
    assertEquals("signer", certs2.getCertificateSigner());
    certs1.setCertificateSigner("signer2");
    assertNotEquals(certs1, certs2);
    certs1.setCertificateSigner("signer");
    assertEquals(certs1, certs2);
    assertNotEquals(certs2, null);
    assertNotEquals("certs", certs1);
}