public void SetUp() { _ocspValidator = A.Fake <IOcspValidator>(); _crlValidator = A.Fake <ICrlValidator>(); _rule = new NonRootCertificatesShouldNotAppearOnRevocationLists(_ocspValidator, _crlValidator, A.Fake <ILogger <NonRootCertificatesShouldNotAppearOnRevocationLists> >()); }
public NonRootCertificatesShouldNotAppearOnRevocationLists(IOcspValidator ocspValidator, ICrlValidator crlValidator, ILogger <NonRootCertificatesShouldNotAppearOnRevocationLists> log) { _ocspValidator = ocspValidator; _crlValidator = crlValidator; _log = log; }