@Test
public void testCertificationRequestToPEM() throws Exception {

    KeyPair testKeyPair = crypto.keyGen();
    String certRequest = crypto.generateCertificationRequest("common name", testKeyPair);
    // Assert.assertSame(String.class, crypto.certificationRequestToPEM(certRequest).getClass());
    Assert.assertTrue(certRequest.contains("BEGIN CERTIFICATE REQUEST"));
}