gen.addRequest(new CertificateID(CertificateID.HASH_SHA1, cacert, ocspTestCert.getSerialNumber()));
Hashtable<DERObjectIdentifier, X509Extension> exts = new Hashtable<DERObjectIdentifier, X509Extension>();
X509Extension ext = new X509Extension(false, new DEROctetString(new FnrFromUnidExtension("123456789")));
exts.put(FnrFromUnidExtension.FnrFromUnidOid, ext);
gen.setRequestExtensions(new X509Extensions(exts));
OCSPReq req = gen.generate();
// Send the request and receive a BasicResponse
BasicOCSPResp brep = sendOCSPPost(req.getEncoded(), true);
// When a certificate is revoked the FNR must not be returned
assertEquals(getFnr(brep), null);