1 write to _redactorProviderMock
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\RequestHeadersEnricherTests.cs (1)
55_redactorProviderMock = new Mock<IRedactorProvider>(MockBehavior.Default);
6 references to _redactorProviderMock
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Logging\RequestHeadersEnricherTests.cs (6)
56_redactorProviderMock.SetReturnsDefault<Redactor>(redactor); 65var enricher = new RequestHeadersLogEnricher(_accessorMock.Object, options.ToOptions(), _redactorProviderMock.Object); 151var enricher = new RequestHeadersLogEnricher(_accessorMock.Object, options.ToOptions(), _redactorProviderMock.Object); 178var enricher = new RequestHeadersLogEnricher(_accessorMock.Object, options.ToOptions(), _redactorProviderMock.Object); 206var enricher = new RequestHeadersLogEnricher(accessorMock.Object, options.ToOptions(), _redactorProviderMock.Object); 239var enricher = new RequestHeadersLogEnricher(accessorMock.Object, options.ToOptions(), _redactorProviderMock.Object);