@Test
public void testSSHCertRequest() {

    SSHCertRequest req1 = new SSHCertRequest();
    SSHCertRequest req2 = new SSHCertRequest();
    assertEquals(req1, req2);
    assertEquals(req1, req1);
    SSHCertRequestMeta meta1 = new SSHCertRequestMeta();
    SSHCertRequestMeta meta2 = new SSHCertRequestMeta();
    meta1.setRequestor("req1");
    meta2.setRequestor("req2");
    SSHCertRequestData data1 = new SSHCertRequestData();
    SSHCertRequestData data2 = new SSHCertRequestData();
    data1.setPublicKey("publickey1");
    data2.setPublicKey("publickey2");
    req1.setCsr("csr1");
    assertEquals("csr1", req1.getCsr());
    req1.setCertRequestData(data1);
    assertEquals(data1, req1.getCertRequestData());
    req1.setCertRequestMeta(meta1);
    assertEquals(meta1, req1.getCertRequestMeta());
    req2.setCertRequestData(data2);
    req2.setCertRequestMeta(meta2);
    assertNotEquals(req1, req2);
    data2.setPublicKey("publickey1");
    assertNotEquals(req1, req2);
    meta2.setRequestor("req1");
    assertNotEquals(req1, req2);
    req2.setCsr("csr2");
    assertNotEquals(req1, req2);
    req2.setCsr("csr1");
    assertEquals(req1, req2);
    assertNotEquals(null, req1);
    assertNotEquals("data", req1);
}