public SchemeOwnerJwtTokenResponseValidatorTests() { var testCaStrategy = new TestCaStrategy(); var rootCertificateStorage = new TestEnvironmentRootCertificateStorage(); _decodedJwtValidatorMock = new Mock <IDecodedJwtValidator>(); _settings = new DefaultSettings(ConfigurationBuilder.Build()); _loggerMock = new Mock <ILogger <SchemeOwnerJwtTokenResponseValidator> >(); _sut = new SchemeOwnerJwtTokenResponseValidator( _decodedJwtValidatorMock.Object, rootCertificateStorage, _loggerMock.Object, testCaStrategy, _settings); }
public JwtCertificateValidatorTests() { var testCaStrategy = new TestCaStrategy(); _partiesQueryServiceMock = new Mock <IPartiesQueryService>(); _trustedListQueryServiceMock = new Mock <ITrustedListQueryService>(); _loggerMock = new Mock <ILogger <JwtCertificateValidator> >(); SetupMocks(); _sut = new JwtCertificateValidator( _partiesQueryServiceMock.Object, _trustedListQueryServiceMock.Object, testCaStrategy, _loggerMock.Object); }