11 references to Create
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Logging\RequestHeadersEnricherTests.cs (4)
54
var redactor = FakeRedactor.
Create
();
93
.Returns(FakeRedactor.
Create
(new FakeRedactorOptions { RedactionFormat = "redacted:{0}" }));
124
.Returns(FakeRedactor.
Create
(new FakeRedactorOptions { RedactionFormat = "REDACTED:{0}" }));
275
.Returns(FakeRedactor.
Create
(new FakeRedactorOptions { RedactionFormat = "redacted:{0}" }));
Microsoft.Extensions.Compliance.Testing.Tests (5)
FakeRedactorTests.cs (5)
20
var r2 = FakeRedactor.
Create
();
21
var r3 = FakeRedactor.
Create
(new FakeRedactorOptions());
36
Assert.Throws<ArgumentException>(() => FakeRedactor.
Create
(new FakeRedactorOptions { RedactionFormat = "{{{{{23123{}}" }));
44
var redactor = FakeRedactor.
Create
(new FakeRedactorOptions { RedactionFormat = RedactedConstOutput });
55
var redactor = FakeRedactor.
Create
();
Microsoft.Extensions.Telemetry.Tests (2)
Logging\JustInTimeRedactorTests.cs (2)
30
var shortRedactor = FakeRedactor.
Create
(new FakeRedactorOptions
35
var longRedactor = FakeRedactor.
Create
(new FakeRedactorOptions