* Returns an empty {@link CertPathStore}.
*/
protected abstract CertPathStore newCertPathStore();
public void testCertificatesAreStored() throws Exception {
CertPathStore certPathStore = newCertPathStore();
ProtocolSignerInfo realSignerInfoProto = realSignerInfo.toProtoBuf();
certPathStore.putSignerInfo(realSignerInfoProto);
ProtocolSignerInfo exampleSignerInfoProto = exampleSignerInfo.toProtoBuf();
certPathStore.putSignerInfo(exampleSignerInfoProto);
checkCertificateExists(realSignerInfo, certPathStore);
checkCertificateExists(exampleSignerInfo, certPathStore);
}