1 write to Collector
Microsoft.Extensions.Compliance.Testing (1)
FakeRedactorProvider.cs (1)
30
Collector
= eventCollector ?? new FakeRedactionCollector();
6 references to Collector
Microsoft.Extensions.Compliance.Testing (2)
FakeRedactorProvider.cs (2)
31
_redactor = new FakeRedactor(Options.Options.Create(options ?? new FakeRedactorOptions()),
Collector
);
39
Collector
.Append(new RedactorRequested(classifications, order));
Microsoft.Extensions.Compliance.Testing.Tests (4)
FakeRedactorProviderTests.cs (1)
27
Assert.Equal(dc, rp.
Collector
.LastRedactorRequested.DataClassifications);
FakeRedactorTests.cs (3)
90
Assert.Equal(fakeRedactorProvider.
Collector
.AllRedactorRequests.Count, iterations.Length);
92
var sequenceNumbersRedacted = fakeRedactorProvider.
Collector
.AllRedactedData.Select(x => x.SequenceNumber);
93
var sequenceNumbersRequested = fakeRedactorProvider.
Collector
.AllRedactorRequests.Select(x => x.SequenceNumber);