@Test
public void testValidateRoleCertificateRequest() throws IOException {

    
    Path path = Paths.get("src/test/resources/valid_email.csr");
    String csr = new String(Files.readAllBytes(path));
    Set<String> roles = new HashSet<>();
    roles.add("readers");
    zts.validCertSubjectOrgValues = null;
    assertTrue(zts.validateRoleCertificateRequest(csr, "sports", roles, "sports.scores",
            null, null, "10.0.0.1"));
    Set<String> validOValues = new HashSet<>();
    validOValues.add("Athenz");
    zts.validCertSubjectOrgValues = validOValues;
    assertTrue(zts.validateRoleCertificateRequest(csr, "sports", roles, "sports.scores", null,
            null, "10.0.0.1"));
}