@Test
public void testValidateCertReqInstanceIdInvalid() throws IOException {

    Path path = Paths.get("src/test/resources/invalid_dns.csr");
    String csr = new String(Files.readAllBytes(path));
    PKCS10CertificationRequest certReq = Crypto.getPKCS10CertRequest(csr);
    
    boolean result = ZTSUtils.validateCertReqInstanceId(certReq, "1001");
    assertFalse(result);
}