@Test
public void testIsRestrictedCertificateNotSet() throws Exception {

    GlobStringsMatcher globStringsMatcher = new GlobStringsMatcher(ATHENZ_PROP_RESTRICTED_OU);
    try (InputStream inStream = new FileInputStream("src/test/resources/ou_tests/restricted_ou_1.pem")) {
        CertificateFactory cf = CertificateFactory.getInstance("X.509");
        X509Certificate cert = (X509Certificate) cf.generateCertificate(inStream);
        boolean restrictedCertificate = Crypto.isRestrictedCertificate(cert, globStringsMatcher);
        assertFalse(restrictedCertificate);
    }
}