Exemplo n.º 1
0
        public IdentityProvidersQueryServiceTests()
        {
            var loggerMock = new Mock <ILogger <IdentityProvidersQueryService> >();

            _partiesQueryServiceMock      = new Mock <IPartiesQueryService>();
            _capabilitiesQueryServiceMock = new Mock <ICapabilitiesQueryService>();

            _sut = new IdentityProvidersQueryService(
                _partiesQueryServiceMock.Object,
                _capabilitiesQueryServiceMock.Object,
                loggerMock.Object);
        }
 public IdentityProvidersQueryServiceTests()
 {
     _sut = ServiceScope.ServiceProvider.GetRequiredService <IIdentityProvidersQueryService>();
 }