Test for CertStoreSpi
constructor Assertion: constructs
CertStoreSpi
CertStoreSpi certStoreSpi = null;
CertSelector certSelector = new tmpCertSelector();//new
// X509CertSelector();
CRLSelector crlSelector = new tmpCRLSelector();//new X509CRLSelector();
try {
certStoreSpi = new MyCertStoreSpi(null);
fail("InvalidAlgorithmParameterException must be thrown");
} catch (InvalidAlgorithmParameterException e) {
}
certStoreSpi = new MyCertStoreSpi(new MyCertStoreParameters());
assertNull("Not null collection", certStoreSpi
.engineGetCertificates(certSelector));
assertNull("Not null collection", certStoreSpi
.engineGetCRLs(crlSelector));