public void SetUp() { _config = A.Fake <IDomainStatusApiConfig>(); sut = new ReverseDnsApiClient(_config, A.Fake <ILogger <ReverseDnsApiClient> >()); _httpTest = new HttpTest(); A.CallTo(() => _config.ReverseDnsApiEndpoint).Returns("https://ncsc.gov.uk"); }
public void SetUp() { _config = A.Fake <IDomainStatusApiConfig>(); sut = new CertificateEvaluatorApiClient(_config, A.Fake <ILogger <CertificateEvaluatorApiClient> >()); _httpTest = new HttpTest(); A.CallTo(() => _config.CertificateEvaluatorApiEndpoint).Returns("https://ncsc.gov.uk"); }
public ReverseDnsApiClient(IDomainStatusApiConfig config, ILogger <ReverseDnsApiClient> log) { _config = config; _log = log; }
public CertificateEvaluatorApiClient(IDomainStatusApiConfig config, ILogger <CertificateEvaluatorApiClient> log) { _config = config; _log = log; }