2 references to RedactionStringBuilderExtensions
Microsoft.Extensions.Compliance.Abstractions.Tests (2)
Redaction\RedactionAbstractionsExtensionsTest.cs (2)
17
Assert.Throws<ArgumentNullException>(() =>
RedactionStringBuilderExtensions
.AppendRedacted(null!, NullRedactor.Instance, s));
18
Assert.Throws<ArgumentNullException>(() =>
RedactionStringBuilderExtensions
.AppendRedacted(new StringBuilder(), null!, ""));