@Test
public void testValidateRoleCertificateRequestInvalidCSR() {

    ChangeLogStore structStore = new ZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            privateKey, "0");
    DataStore store = new DataStore(structStore, null);
    ZTSImpl ztsImpl = new ZTSImpl(mockCloudStore, store);
    ztsImpl.validCertSubjectOrgValues = null;
    assertFalse((ztsImpl.validateRoleCertificateRequest("invalid-csr", null,
            null, null, null, null, "10.0.0.1")));
}