@Test
public void testValidateCertReqCommonNameException() {

    
    PKCS10CertificationRequest certReq = Mockito.mock(PKCS10CertificationRequest.class);
    Mockito.when(certReq.getSubject()).thenThrow(new CryptoException());
    
    assertFalse(ZTSUtils.validateCertReqCommonName(certReq, "athenz.syncer"));
}